6-14 Buffer Model 2701 User’s Manual
Choose the elements to be outputted with each DATA? or each buffer reading in a
TRAC:DATA? RNUMber is reading number; TSTamp is Timestamp as set by the
SYST:TSTamp:TYPE command. The other elements should be self-explanatory. The
query acts the same as 2000, except there are six possible elements instead of 3.
Therefore, if only READ is selected, then FORM:ELEMents? returns the string
"READ,,,,,". The LIMits are returned in ASCII format as a four-bit number abcd, where
(a) corresponds to High Limit 2, (b) is Low Limit 2, (c) is High Limit 1, and (d) is Low
Limit 1. A zero in the bit position indicates a passing limit, while a 1 indicates failure.
In the binary formats, the limit information must be decoded from the value 0-15
returned, where the MSB is High Limit 2 and the LSB is Low Limit 1. For example, a
value of 10 returned in the limits field would indicate that High Limit 2 and High Limit
1 both failed.
Real-time timestamps are not available for output data formats other than ASCII. The
element TSTamp can still be selected and will show up when FORM:ELEM? is que-
ried, but no timestamp will be included in the output data.
m. CALCulate2:FORMat <name> Select buffer statistic
CALCulate2:STATe ON | OFF Control (on/off) buffer statistic
CALCulate2:IMMediate Calculate data in buffer
CALCulate2:IMMediate? Calculate and read result
CALCulate2:DATA? Read result of statistic calculation
<name> = MINimum | MAXimum | MEAN | SDEViation | PKPK | NONE
After the selected buffer statistic is enabled, IMMediate or IMMediate? must be sent to
calculate the statistic from the data in the buffer. The CALCulate2:DATA? command
does not initiate a calculate operation. It simply returns the result of the last calculation.
If new data is stored in the buffer, you must again send IMMediate or IMMediate? to
recalculate the statistic from that new data.
NOTE If the standard deviation calculation is being performed on a buffer that has
more than 1000 readings, the “CALCULATING” message will flash to indicate
that the Model 2701 is busy. While busy with the calculation, remote program-
ming commands will not execute.
NOTE Use *OPC or *OPC? with CALC2:IMM and CALC2:IMM? when performing
the standard deviation calculation on a large buffer. See Section 12 for details
on *OPC and *OPC?
NOTE The Model 2701 should take 5 to 6 seconds to perform standard deviation on
450,000 readings.