User`s guide
53220A/53230A User’s Guide 219
53220A/53230A Math, Graphing, and Data Logging 6
CALCulate2:TRANsform:HISTogram:RANGe:AUTO:COUNt {<value>
|MINimum|MAXimum|DEFault}
CALCulate2:TRANsform:HISTogram:RANGe:AUTO:COUNt?
[{MINimum|MAXimum|DEFault}] (query form)
value - specifies the first ‘n’ number of readings from which lower and upper
range values are obtained. 10 to 1,000 readings can be specified.
The default number and the number set following a reset (*RST) or instrument
preset (SYSTem:PRESet) is 100.
Example: Setting up a Histogram
The following example creates a 15-bin histogram of 3,000 counter measure-
ments. The lower and upper ranges are automatically determined from the
first 300 readings taken.
CONF:FREQ 50E3, (@1) // configure frequency measurement
SYST:TIM .1 // 100 ms measurement timeout
TRIG:SOUR BUS // set software triggers as source
TRIG:COUN 1 // trigger count = 1
SAMP:COUN 3000 // 3000 readings per trigger
SENS:FREQ:GATE:SOUR TIME // set gate source
SENS:FREQ:GATE:TIME 1E3 // set a 1 ms gate time
DISP:MODE HIST // histogram display mode
CALC2:TRAN:HIST:POIN 15 // specify 15 bins
CALC2:TRAN:HIST:RANG:AUTO ON // auto-select ranges
CALC2:TRAN:HIST:RANG:AUTO:COUN 300 // use first 300 rgs
CALC2:TRAN:HIST:STAT ON // enable histogram
INIT // initiate the counter
*TRG // send a software trigger