Keithley 2601B Reference Manual page 495

2600b series system sourcemeter instrument
Hide thumbs Also See for 2601B:
Table of Contents

Advertisement

Series 2600B System SourceMeter® Instrument Reference Manual
Example 1
reset()
testData = buffer.make(200)
smu.measure.count = 6
smu.measure.read(testData)
smu.measure.read(defbuffer1)
format.data = format.ASCII
format.asciiprecision = 6
printbuffer(1, testData.n, testData.readings, testData.units,
testData.relativetimestamps)
for x = 1, testData.n do
printbuffer(x,x,testData, testData.units, testData.relativetimestamps)
end
This assumes that testData is a valid reading buffer in the run-time environment. The use of testData.n
(bufferVar.n) indicates that the instrument should output all readings in the reading buffer. In this example,
testBuffer.n equals 6.
Example of output data
1.37000e-11, 4.84914e-11, 4.84921e-11, 4.84888e-11, 4.84859e-11, 2.76175e-11
Example 2
printbuffer(1, testData.n, testData.readings, testData.units,
testData.relativetimestamps)
for x = 1, testData.n do
printbuffer(x,x,testData, testData.units, testData.relativetimestamps)
end
This example output data includes readings, units and relative timestamps.
1.37000e-11, Current, 0.00000e+00, 4.84914e-11, Current, 5.28490e-02, 4.84921e-
11, Current, 1.05692e-01, 4.84888e-11, Current, 1.58533e-01, 4.84859e-11,
Current, 2.11381e-01, 2.76175e-11, Current, 2.64231e-01
Example 3
for x = 1, testData.n do
printbuffer(x,x,testData, testData.units, testData.relativetimestamps)
end
Example output data showing readings, units and relative timestamps in printed in rows.
1.37000e-11, Current, 0.00000e+00
4.84914e-11, Current, 5.28490e-02
4.84921e-11, Current, 1.05692e-01
4.84888e-11, Current, 1.58533e-01
4.84859e-11, Current, 2.11381e-01
2.76175e-11, Current, 2.64231e-01
Also see
bufferVar.n
bufferVar.readings
format.asciiprecision
format.byteorder
format.data
printnumber()
2600BS-901-01 Rev. B / May 2013
(on page 7-156)
Section 7: TSP command reference
7-155

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents