Section 7: SCPI command reference
Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
7-82
077114601 / March 2019
:CALCulate2:DATA?
This command reads the results of specified statistics.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
Usage
:CALCulate2:DATA?
:CALCulate2:DATA? <channel>
<channel>
The channel number (default value is CH1):
Channel 1: CH1
Channel 2: CH2
Details
Return the calculation results of statistics. You can get the results in the following order:
Minimum (
MINimum
)
Maximum (
MAXimum
)
Mean (
MEAN
)
Standard deviation (
SDEViation
)
Peak to peak (
PKPK
)
If the specified statistics have not been performed yet, the instrument will return
-1.37
.
If the buffer is empty, the instrument returns
-1.37
.
If there are a lot of readings stored in the buffer, some statistic operations may take too long and
cause a buffer time-out error. To avoid this, send the
CALC2:DATA?
command and then wait for the
message available (MAV) bit in the Status Byte Register to set before addressing the 2281S to talk.