Buffervar.units - Keithley 2461 Reference Manual

1kw pulse mode interactive sourcemeter instrument
Table of Contents

Advertisement

Section 8: TSP command reference

bufferVar.units

This attribute contains the unit of measure that is stored with readings in the reading buffer.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
readingUnit = bufferVar.units[N]
readingUnit
bufferVar
N
Details
This attribute contains the unit of measure that is stored with readings in the reading buffer.
Example
reset()
testData = buffer.make(50)
testData.fillmode = buffer.FILL_CONTINUOUS
smu.measure.func = smu.FUNC_DC_CURRENT
trigger.model.load("SimpleLoop", 3, 0,
testData)
trigger.model.initiate()
waitcomplete()
printbuffer(1, testData.n, testData.units)
smu.measure.func = smu.FUNC_DC_VOLTAGE
trigger.model.initiate()
waitcomplete()
printbuffer(1, testData.n, testData.units)
8-40
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Affected by
Restore configuration
Instrument reset
Power cycle
Volt DC: Voltage measurement
Ohm: Resistance measurement
Watt DC: Power measurement
Amp DC: Current measurement
%: Math is set to percent for the measurements
mX+b: Math is set to mx+b for the measurements
Reciprocal: Math is set to reciprocal for the measurements
The name of the reading buffer, which may be a default buffer (defbuffer1 or
defbuffer2) or a user-defined buffer
The reading number N; can be any value from 1 to the number of readings in the
buffer; use the bufferVar.n command to determine the number of readings in the
buffer
Where saved
Not applicable
Create a reading buffer named testData,
configure the instrument to make three
measurements, and store the readings in
the buffer.
Set the buffer to fill continuously.
Set the measure function to current.
Make three readings.
Print the units for the readings.
Output:
Amp DC, Amp DC, Amp DC
Set the measure function to voltage.
Make three readings.
Output:
Volt DC, Volt DC, Volt DC
Default value
Not applicable
2461-901-01 A/November 2015

Advertisement

Table of Contents
loading

Table of Contents