EasyManua.ls Logo

Keithley 2450

Keithley 2450
878 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section
8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
Reference Manual
8-80 2450-901-01 Rev. B/September 2013
Example 1
reset()
testData = buffer.make(200)
format.data = format.ASCII
format.asciiprecision = 6
trigger.model.load("SimpleLoop", 6, 0, testData)
trigger.model.initiate()
waitcomplete()
printbuffer(1, testData.n, testData.readings, testData.units,
testData.relativetimestamps)
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.10458e-11, Amp DC, 0.00000e+00, 1.19908e-11, Amp DC, 1.01858e-01, 1.19908e-11, Amp DC,
2.03718e-01, 1.20325e-11, Amp DC, 3.05581e-01, 1.20603e-11, Amp DC, 4.07440e-01, 1.20325e-
11, Amp DC, 5.09299e-01
Example 2
for x = 1, testData.n do
printbuffer(x,x,testData, testData.units, testData.relativetimestamps)
end
Using the same buffer created in Example 1, output readings, units and relative timestamps on a separate line
for each reading.
1.10458e-11, Amp DC, 0.00000e+00
1.19908e-11, Amp DC, 1.01858e-01
1.19908e-11, Amp DC, 2.03718e-01
1.20325e-11, Amp DC, 3.05581e-01
1.20603e-11, Amp DC, 4.07440e-01
1.20325e-11, Amp DC, 5.09299e-01
Also see
bufferVar.n (on page 8-23)
bufferVar.readings (on page 8-24)
format.asciiprecision (on page 8-62)
format.byteorder (on page 8-63)
format.data (on page 8-64)
printnumber() (on page 8-81)

Table of Contents

Other manuals for Keithley 2450

Related product manuals