Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-35
reset()
smua.source.func = smua.OUTPUT_DCVOLTS
smua.source.autorangev = smua.AUTORANGE_ON
smua.source.levelv = 5
smua.source.limiti = 10e-3
smua.measure.rangei = 10e-3
smua.source.output = smua.OUTPUT_ON
print(smua.measure.i(smua.nvbuffer1))
smua.source.output = smua.OUTPUT_OFF
print(smua.nvbuffer1.statuses[1])
Reset the instrument.
Set the voltage source function to dc volts.
Set the range to auto.
Set the voltage source to 5 V.
Set current measure limit to 10 mA.
Set the current measure range to 10 mA.
Turn on the output.
Print and place the current reading in the
reading buffer.
Turn off the output.
Output status value of the first measurement
in the reading buffer.
Output example:
3.99470e-06
4.00000e+00
Also see
bufferVar.measurefunctions (on page 9-25)
bufferVar.measureranges (on page 9-26)
bufferVar.n (on page 9-28)
bufferVar.readings (on page 9-29)
bufferVar.sourcefunctions (on page 9-30)
bufferVar.sourceoutputstates (on page 9-31)
bufferVar.sourceranges (on page 9-31)
bufferVar.sourcevalues (on page 9-32)
bufferVar.timestamps (on page 9-36)
Reading buffers (on page 3-1)
bufferVar.timestampresolution
This attribute contains the resolution of the timestamp.
Usage
resolution = bufferVar.timestampresolution
Timestamp resolution in seconds (minimum 1 µs; rounded to an even power of 2 µs)
The reading buffer; can be a dynamically allocated user-defined buffer or a dedicated
reading buffer
Details
Assigning a value to this attribute sets the resolution for the timestamps. Reading this attribute returns
the timestamp resolution value. This value can only be changed with an empty buffer. Empty the
buffer using the bufferVar.clear() function.
The finest timestamp resolution is 0.000001 seconds (1 μs). At this resolution, the reading buffer can
store unique timestamps for up to 71 minutes. You can increase this value for very long tests.