
Section 6: SCPI command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
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
0x0001 STAT_QUESTIONABLE
1
Measure status questionable
0x0006 STAT_ORIGIN
6
A/D converter from which reading originated; for the
Model 2461, this will always be 0 (main) or 2 (digitizer)
0x0008 STAT_TERMINAL
8
Measure terminal, front is 1, rear is 0
0x0010 STAT_LIMIT2_LOW
16
Measure status limit 2 low
0x0020 STAT_LIMIT2_HIGH
32
Measure status limit 2 high
0x0040 STAT_LIMIT1_LOW
64
Measure status limit 1 low
0x0080 STAT_LIMIT1_HIGH
128
Measure status limit 1 high
0x0100 STAT_START_GROUP
256
First reading in a group
Example
TRAC:MAKE "buf100", 100
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