6: SCPI command reference Model 2461 Interactive SourceMeterĀ® Instrument
6-162 2461-901-01 A/November 2015
The STATus buffer element returns status values for the readings in the buffer. The status values are
floating-point numbers that encode the status value. Refer to the following table for values.
Buffer status bits for sense measurements
Bit (hex) Name Decimal Description
Measure status questionable
A/D converter from which reading originated; for the
Model 2461, this will always be 0 (main) or 2 (digitizer)
Measure terminal, front is 1, rear is 0
Measure status limit 2 low
Measure status limit 2 high
Measure status limit 1 low
Measure status limit 1 high
Example
TRIGger:LOAD "SimpleLoop", 5, 0, "buf100"
SOUR:VOLT 0.35
INIT
*WAI
TRAC:DATA? 1, 5, "buf100", READ, SOUR, REL
TRAC:DATA? 1, 5, "buf100", READ, REL
TRAC:DATA? 1, 5, "buf100", REL
TRAC:DATA? 1, 3, "buf100"
Create a buffer called buf100 with a maximum
size of 100.
Set the instrument to configure the trigger model to
loop, taking 5 readings with no delay, and store the
readings in the buf100 reading buffer.
Set the source level for voltage to 0.35.
Initiate the trigger model and wait for the trigger
model to complete. The trigger model will make
5 readings and store them in buf100.
Read the 5 data points, reading, programmed
source, and relative time for each point.
Output:
-0.000000,0.350000,0.000000;
-0.000000,0.350000,0.266978,
-0.000000,0.350000,0.443087,
-0.000000,0.350000,0.704459,
-0.000000,0.350000,0.881419
Read 5 data points and include the reading and
relative time for each data point.
Output:
-0.000000,0.000000,
-0.000000,0.266978,
-0.000000,0.443087,
-0.000000,0.704459,
-0.000000,0.881419
Read 5 data points and include relative time for
each data point.
Output:
0.000000,0.266978;0.443087,
0.704459,0.881419
Returns the first 3 reading values from buf100
reading buffer
Output:
-0.000000,-0.000000,-0.000000