User`s guide
202 53220A/53230A User’s Guide
6 53220A/53230A Math, Graphing, and Data Logging
units are one to four characters. Double quotes enclosing the string are
included in the command. The assigned units appear in the counter display
only.
Following a reset (*RST) or instrument preset (SYSTem:PRESet) user-defined
units are disabled.
From the front panel, units are entered by pressing the User Units softkey,
enabling the units (On), and using the rotary knob and arrows to enter and
select the character position.
Scaling Example
The following example is a typical sequence of scaling commands from the
SCPI CALCulate[1] subsystem.
//Scale 500 readings (M/x-B) and assign reading units
CONF:FREQ (@1) // frequency measurement
SAMP:COUN 500 // 500 readings/trigger
SENS:FREQ:GATE:TIME .010 // set minimum gate time
CALC:STAT ON // enable CALCulate1 subsystem
CALC:SCAL:STAT ON // enable scaling operation
CALC:SCAL:FUNC SCAL // set scaling function = Mx-B
CALC:SCAL:INV ON // invert readings (M/x-B)
CALC:SCAL:GAIN 100 // set gain (M)
CALC:SCAL:OFFS 0 // set offset (B)
CALC:SCAL:UNIT:STAT ON // enable user-defined units
CALC:SCAL:UNIT "sec" // assign units to readings
INIT // initiate readings
For an input frequency of 1 MHz, the counter should display readings of
approximately +100.00... usec.