Section 7: SCPI command reference
Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
7-88
077114601 / March 2019
Example
*RST
:TRAC:CLE
:TRIG:COUN 10
:VOLT 6
:OUTP ON
:INIT
*OPC?
:CALC2:STATE ON
:CALC2:FUNC VOLT
:CALC2:FORM:ELEM "READ,UNIT,TST,RNUM"
:CALC2:FORM MIN,MAX
:CALC2:IMM?
:CALC2:FORM MIN,MAX,MEAN,PKPK,SDEV
:CALC2:IMM?
:CALC2:FORM MAX,SDEV
:CALC2:DATA?
Before the calculation, start the trigger model to take 10
readings.
The first
CALC2:IMM?
returns reading, units, timestamp
and reading number for MIN and MAX:
5.00V,06/25/2013
09:39:31.4455,0008RNDG#,5.00V,06/25/2013
09:39:30.7283,0001RNDG#
The second
CALC2:IMM?
only returns reading and units
for MIN, MAX, MEAN, PKPK and SDEV:
5.00V,5.00V,5.00V,1.360
893E-03V,4.204334E-04V
CALC2:DATA?
returns reading and units for MAX and
SDEV: 5.00V,4.204334E-04V
Also see
(on page 7-88)
:CALCulate2:IMMediate
This command performs the selected statistic operation and reads the results.
Type
Affected by
Where saved
Default value
Command and query
Not applicable
Not applicable
Not applicable
Usage
:CALCulate2:IMMediate
:CALCulate2:IMMediate <channel>
:CALCulate2:IMMediate?
:CALCulate2:IMMediate? <channel>
<channel>
The channel number (default value is CH1):
Channel 1: CH1
Channel 2: CH2
Details
This command only performs the selected statistic operations when the operations are enabled. It
returns the data in the following order:
MIN
,
MAX
,
MEAN
,
PKPK
,
SDEV
.
To query the operation state, send the command:
:CALCulate2:STATe?