Model 2461 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference2461-901-01 A/November 2015 8-167Examplesmu.source.func = smu.FUNC_DC_CURRENTsmu.measure.func = smu.FUNC_DC_VOLTAGEsmu.measure.range = 0.5Select the measurement function to be voltage.Instrument selects the 2 V measurement range.Also seeRanges (on page 2-124)smu.measure.autorange (on page 8-131)smu.measure.read()This function makes measurements, places them in a reading buffer, and returns the last reading.Type TSP-Link accessible Affected by Where saved Default valueFunction YesUsagereading = smu.measure.read()reading = smu.measure.read(bufferName)reading The last reading of the measurement processbufferName The name of the reading buffer, which may be a default buffer (defbuffer1 ordefbuffer2) or a user-defined buffer; if no buffer is defined, it defaults todefbuffer1DetailsThis function makes a measurement using the present function setting, stores the reading in areading buffer, and returns the last reading.The smu.measure.count attribute determines how many measurements are performed. You canalso use the trigger model Simple Loop.When you use a reading buffer with a command or action that makes multiple readings, all readingsare available in the reading buffer. However, only the last reading is returned as a reading with thecommand.If you define a specific reading buffer, the reading buffer must exist before you make themeasurement.To make a power reading, use the smu.measure.unit command and set the units tosmu.UNIT_WATT for the voltage or current measurement function.