Tektronix VX4101A Drums User Manual


 
SCPI Commands for the Counter
3–54
VX4101A MultiPaq Instrument User Manual
Query Response
CALCulate:TRANsform:
HISTogram:AUTO?
<ON|OFF>
CALCulate:VARiance?
[<count>[,<offset>
[,step size>]]]
This query calculates and returns the variance for a set of data.
The variance is the standard deviation squared or:
s = sqrt (S (data
i
– average)2/(n–1)
(n = amount of data summed)
If no valid data values were found “No Data” will be returned.
The optional parameters are for calculating selected values in
the memory buffer.
The optional <count> parameter specifies the number of
datapoints to calculate. If no <count> is specified, then the
number measurements last taken will be the default.
The optional <offset> parameter determines at which point in
memory values will start to be calculated.
The optional <step_size> parameter determines the number of
measurements to skip before taking a value to be used.
NOTE: In order to specify a <step_size>, you must enter the
<count> and the <offset> information.
CALCulate:AVERage?[<count>[,<offset>[,<step_size>]]]
Command Response
inst:sel ctr Selects the Counter
calc:lim:upper 5.0 Sets upper data value limit
calc:aver? Averages all the data that has been collected
calc:aver? 20,3,2 Averages 20 measurement readings. Starts with the 3rd mea-
surement. Averages every other data point
CALCulate:LIMit:ENVelope[:DATA]
Command Response
inst:sel ctr Selects the Counter
calc:lim:env 5000,1000 Sets an envelope value. All data points above 05.0 kHz and
below 1.0 kHz are targeted.
calc:lim:env? 1000, 5000<lf> returns the envelope threshold value
calc:lim:env 1000,5000 Sets an envelope value. All data points between 5.0 kHz and
1.0 kHz are targeted.
calc:lim:env? 5000, 1000<lf> returns the envelope threshold value
Examples