Keysight B2961A/B2962A SCPI Command Reference, Edition 6 4- 83
Subsystem Commands
READ Subsystem
This example shows the data containing the current data (ch1currN) of the 10-step
sweep measurement by channel 1, and the current data (ch2currN) of the 5-step
sweep measurement by channel 2.
If the measurement function is not enabled or no data exists, response returns
+9.910000E+37 (ASCII) or NaN (IEEE-754) which indicates “not a number”.
Example :READ:ARR:CURR? (@2,1)
:READ[:SCALar]?
Executes the :INITiate command and the :FETCh[:SCALar]? command in series,
and returns the latest voltage measurement data, current measurement data,
resistance measurement data, time data, status data, or source output setting data
specified by the
:FORMat:ELEMents:SENSe command. The data is not cleared
until the :INITiate, :MEASure, :READ, or :SENSe:DATA:CLEar command is
executed.
Syntax :READ[:SCALar]? [chanlist]
Parameter chanlist Channels to return the data. Parameter data type is channel list.
(@1)|(@2)|(@1,2)|(@1:2)|(@2,1)|(@2:1). See
“Channel List
Parameter” on page 1-8.
(@1) selects channel 1 only. (@2) selects channel 2 only. (@1,2), (@1:2), (@2,1),
and (@2:1) selects both channels 1 and 2.
If this parameter is not specified, chanlist=(@1) is set.
Query response response <newline>
response returns the latest data specified by the :FORMat:ELEMents:SENSe
command. Response data type is NR3. See “Data Output Format” on page 1-12.
If both channels 1 and 2 are selected by chanlist, response returns the channel 1 data
and the channel 2 data in this order. See the following example. With the ASCII data
output format, each data is separated by a comma.
ch1curr10,ch1sour10,ch2curr5,ch2sour5
This example shows the data containing the latest current data (ch1curr10) and
source data (ch1sour10) of the 10-step sweep measurement by channel 1, and the
latest current data (ch2curr5) and source data (ch2sour5) of the 5-step sweep
measurement by channel 2.