Keysight B2961A/B2962A SCPI Command Reference, Edition 6 4- 3
Subsystem Commands
CALCulate Subsystem
CALCulate Subsystem
For the numeric suffix [c], see “Numeric Suffix” on page 1-8.
:CALCulate:MATH:DATA?
Returns the calculation result data. Elements of the returned data are specified by the
:FORMat:ELEMents:CALCulate command. Math expression for the calculation is
defined by the :CALCulate:MATH[:EXPRession]:NAME and
:CALCulate:MATH[:EXPRession][:DEFine]commands.
Syntax :CALCulate[c]:MATH:DATA? [offset[, size]]
Parameter offset Indicates the beginning of the data received. n|CURRent|STARt
(default). Parameter data type is NR1 or CPD.
offset=n specifies the n+1th data. n is an integer, 0 to maximum
(depends on the buffer state).
offset=CURR specifies the present data position.
offset=STAR specifies the top of the data buffer. Same as
offset=0.
size Number of data to be received. 1 to maximum (depends on the
buffer state). Parameter data type is NR1. If this parameter is
not specified, all data from offset is returned.
Query response data <newline>
Response data type is NR3.
See “Data Output Format” on page 1-12.
Example :CALC2:MATH:DATA? 0,10
Remarks If the math expression contains some measurement results, measurement may be
performed many times to obtain the result. For example, measurement must be
performed twice to get the result of the following math expression.
math expression =(CURR[1]-CURR[0])