CALCulate:TRANsform:HISTogram Subsystem

The HISTogram subsystem configures the histogram display. The instrument clears histogram data when the measurement function changes and when any of the following commands are sent:

CALCulate:TRANsform:HISTogram:CLEar[:IMMediate]

CALCulate:TRANsform:HISTogram:POINts

CALCulate:TRANsform:HISTogram:RANGe:AUTO

CALCulate:TRANsform:HISTogram:RANGe:{LOWer|UPPer}

CALCulate:TRANsform:HISTogram[:STATe]

INITiate[:IMMediate]

MEASure:<function>?

READ?

*RST

SYSTem:PRESet

Command Summary

CALCulate:TRANsform:HISTogram:ALL?

CALCulate:TRANsform:HISTogram:CLEar[:IMMediate]

CALCulate:TRANsform:HISTogram:COUNt?

CALCulate:TRANsform:HISTogram:DATA?

CALCulate:TRANsform:HISTogram:POINts

CALCulate:TRANsform:HISTogram:RANGe:AUTO

CALCulate:TRANsform:HISTogram:RANGe:{LOWer|UPPer}

CALCulate:TRANsform:HISTogram[:STATe]

Example

This example enables an automatically scaled, 100-bin histogram of 1000 DCV measurements. It then returns the computed histogram, including the lower and upper range values, the total measurement count, and the bin data.

CONF:VOLT:DC 10,0.001
SAMP:COUN 1000
CALC:TRAN:HIST:RANG:AUTO ON
CALC:TRAN:HIST:POIN 100
CALC:TRAN:HIST:STAT ON
INIT
*WAI
CALC:TRAN:HIST:ALL?

Typical Response: +9.99383828E+00,+1.00513398E+01,+1000,<102 bin counts>

The above response indicates 102 bin counts because the histogram includes bins for values below and above the histogram range.

CALCulate:TRANsform:HISTogram:ALL?
CALCulate:TRANsform:HISTogram:DATA?

The ALL form of the query returns a comma-separated list of the lower and upper range values, the number of measurements, and the bin data collected since the last time the histogram data was cleared. The DATA form returns only the bin data.

Parameter Typical Return
(none) See Example.
See Example.

CALCulate:TRANsform:HISTogram:CLEar[:IMMediate]

Clears the histogram data and restarts histogram ranging if it is enabled (CALCulate:TRANsform:HISTogram:RANGe:AUTO ON).

Parameter Typical Return
(none) (none)
Clear the histogram data:

CALC:TRAN:HIST:CLE

CALCulate:TRANsform:HISTogram:COUNt?

Returns the number of measurements collected since the last time the histogram was cleared.

Parameter Typical Return
(none) +87
Return the number of measurements used to compute the current histogram:

CALC:TRAN:HIST:COUN?

CALCulate:TRANsform:HISTogram:POINts {<value>|MIN|MAX|DEF}
CALCulate:TRANsform:HISTogram:POINts? [{MIN|MAX|DEF}]

Sets the number of bins between the lower and upper range values for the histogram. Two additional bins always exist: one for measurements below the lower range and one for measurements above the upper range.

Parameter Typical Return
{10|20|40|100|200|400|MIN|MAX|DEF}. Default: 100. +100
See Example.

CALCulate:TRANsform:HISTogram:RANGe:AUTO {ON|1|OFF|0}
CALCulate:TRANsform:HISTogram:RANGe:AUTO?

Enables or disables automatic selection of the histogram's lower and upper range values.

Parameter Typical Return
{ON|1|OFF|0}. Default: ON. 0 (OFF) or 1 (ON)
See Example.

CALCulate:TRANsform:HISTogram:RANGe:{LOWer|UPPer} {<value>|MIN|MAX|DEF}
CALCulate:TRANsform:HISTogram:RANGe:{LOWer|UPPer}? [{MIN|MAX|DEF}]

Sets the histogram's lower and upper range values. Setting the lower or upper range value (CALCulate:TRANsform:HISTogram:RANGe:{LOWer|UPPer) disables automatic selection of the lower and upper range values (CALCulate:TRANsform:HISTogram:RANGe:AUTO OFF).

Parameter Typical Return

-1.0E+15 to -1.0E-15,
or
0.0 (default)
or
+1.0E-15 to 1.0E+15

+1.00000000E+06
See Example.

CALCulate:TRANsform:HISTogram[:STATe] {ON|1|OFF|0}
CALCulate:TRANsform:HISTogram[:STATe]?

Enables or disables histogram computation.

Parameter Typical Return
{ON|1|OFF|0}. Default: OFF. 0 (OFF) or 1 (ON)
See Example.