CALCulate2:TRANsform:HISTogram:DATA?
Syntax
CALCulate2:TRANsform:HISTogram:DATA?
Description
This query returns the bin data collected since the last time the histogram data was cleared.
Remarks
l You can read the histogram data at any time.
l The instrument clears the histogram data when the CALCulate2:TRANsform:HISTogram:POINts,
CALCulate2:TRANsform:HISTogram:RANGe:AUTO, CALCu-
late2:TRANsform:HISTogram:RANGe:AUTO:COUNt, CALCu-
late2:TRANsform:HISTogram:RANGe:LOWer, CALCulate2:TRANsform:HISTogram:RANGe:UPPer
commands are sent, when CALCulate2:TRANsform:HISTogram:STATe ON is sent, when the meas-
urement function is changed, when the INITiate:IMMediate, MEASure? or READ? commands are
executed, when the CALCulate2:TRANsform:HISTogram:CLEar command is executed, after a Factory
Reset (*RST command) or after an Instrument Preset (SYSTem:PRESet command).
Return Format
The query returns a comma-separated list of the bin data. The bin data includes, in order:
l Number of measurements less than the lower range value
l Number of measurements in the each of the CALCulate2:TRANsform:HISTogram:POINts bins, starting
at the lower range value bin
l Number of measurements greater than the upper range value
The bin data is returned in the form +1,+2,+53,....
Examples
The following example enables an automatically scaled, 128-bin histogram computation of 1000 fre-
quency measurements and returns the computed bin data. The automatic scaling is based on the first
100 measurements.
CONF:FREQ 1.0E6,.001
SAMP:COUN 1000
CALC2:TRAN:HIST:RANG:AUTO ON
CALC2:TRAN:HIST:RANG:AUTO:COUN 100
CALC2:TRAN:HIST:POIN 128
CALC2:TRAN:HIST:STAT ON
Keysight 53220A/53230A Programmer's Reference 85
CALCulate2:TRANsform:HISTogram:DATA?