User manual
RIGOL Chapter 2 Command System
2-72 MSO7000/DS7000 Programming Guide
:HISTogram:SOURce
Syntax
:HISTogram:SOURce <source>
:HISTogram:SOURce?
Description
Sets or queries the source of the histogram.
Parameter
Name
Type
Range
Default
<source>
Discrete
{CHANnel1|CHANnel2|CHANnel3|CHA
Nnel4|MATH1|MATH2|MATH3|MATH4|
OFF}
OFF
Return
Format
The query returns CHAN1, CHAN2, CHAN3, CHAN4, MATH1, MATH2, MATH3,
MATH4, or OFF.
Example
:HISTogram:SOURce CHANnel2 /*Sets the source of the histogram to CH2.*/
:HISTogram:SOURce? /*The query returns CHAN2.*/
:HISTogram:SIZE
Syntax
:HISTogram:SIZE <size>
:HISTogram:SIZE?
Description
Sets or queries the height of the histogram.
Parameter
Name
Type
Range
Default
<size>
Integer
1 to 4
1
Return
Format
The query returns an integer ranging from 1 to 4.
Example
:HISTogram:SIZE 2 /*Sets the height of the histogram to 2.*/
:HISTogram:SIZE? /*The query returns 2.*/
:HISTogram:STATic
Syntax
:HISTogram:STATic <bool>
:HISTogram:STATic?
Description
Enables or disables the statistical function; or queries the status of the
statistical function.
Parameter
Name
Type
Range
Default
<bool>
Bool
{{1|ON}|{0|OFF}}
0|OFF
Return
Format
The query returns 1 or 0.
Example
:HISTogram:STATic ON /*Enables the statistical function.*/
:HISTogram:STATic? /*The query returns 1.*/
:HISTogram:RESet
Syntax
:HISTogram:RESet
Description
Resets the statistics.