6
53220A/53230A Math, Graphing, and Data Logging
Example: Setting up a histogram
The following example creates a 15-bin histogram of 3,000 counter
measurements. The lower and upper ranges are automatically determined from
the first 300 readings taken.
CONF:FREQ 50E3, (@1)
INIT
*TRG
Resetting the histogram
The data from which the current histogram is created is cleared by any of the
following:
– pressing the Reset Histogram softkey
– enabling/disabling or changing any part of the histogram
– a new measurement cycle - INITiate:IMMediate, READ?, MEASure
– sending a new SCPI command or changing a current SCPI parameter
230
SYST:TIM .1
TRIG:SOUR BUS
TRIG:COUN 1
SAMP:COUN 3000
SENS:FREQ:GATE:SOUR TIME
SENS:FREQ:GATE:TIME 1E3
DISP:MODE HIST
CALC2:TRAN:HIST:POIN 15
CALC2:TRAN:HIST:RANG:AUTO ON
CALC2:TRAN:HIST:RANG:AUTO:COUN 300 // use first 300 rgs
CALC2:TRAN:HIST:STAT ON
– number of bins, lower or upper range
// configure frequency measurement
// 100 ms measurement timeout
// set software triggers as source
// trigger count = 1
// 3000 readings per trigger
// set gate source
// set a 1 ms gate time
// histogram display mode
// specify 15 bins
// auto-select ranges
// enable histogram
// initiate the counter
// send a software trigger
Keysight 53220A/53230A User's Guide