Section 7: SCPI command reference
Series 2280 Precision DC Power Supply Reference Manual
7-28
077085503 / 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-32)
:CALCulate2:FORMat
This command selects or queries which math statistics are used on readings stored in the buffer.
Type
Affected by
Where saved
Default value
Command and query
Recall settings
Instrument reset
Power cycle
Save settings
MIN, MAX, MEAN, PKPK, SDEV
Usage
:CALCulate2:FORMat <itemList>[,<channel>]
:CALCulate2:FORMat? [<channel>]
<itemList>
The available math statistics:
Minimum value:
MINimum
Maximum value:
MAXimum
Average:
MEAN
Standard deviation:
SDEViation
Peak to peak:
PKPK
None of the statistic operations are selected:
NONE
<channel>
The channel number (default value is CH1):
Channel 1: CH1
Channel 2: CH2