Chapter 3 Programming Your Universal Counter for Remote Operation
How to Program the Counter for Math/Limit Operations
3-50 Programming Guide
results are calculated. The only drawback with this command is that you must
always send it when you change the limits or scale/offset values.
The section in this chapter titled “How to Program the Counter to Display
Results” uses the :CALC:IMM technique to make sure the results are properly
displayed.
Using the Scale and Offset Over HP-IB
Using the scale and offset values over the bus is different from setting any other
value.
The commands for setting the scale and offset are in the TRACE subsystem. For
example, if you make a frequency measurement and want to set the scale to 5.0
and the offset to 100 Hz, send the following commands:
:TRACE SCALE, 5
:TRACE OFFSET, 100
Set scale value.
Set offset value.
The above commands just set the values. To enable them, Math must be turned on,
and the results processed as described in the previous section:
:CALC1:MATH:STATE ON
:CALC:IMM
Enable math.
Process results using scale and offset.
If you then wanted the to have the Counter ’s display show the processed results,
the following commands must be issued:
:DISP:MENU OFF
:DISP:TEXT:FEED ‘CALC2’
:CALC2:LIM:DISP NUMBER
Clear any menu items that may be on
display.
Show the non-statistical result.
Use the numeric display mode.