Chapter 3 Programming Your Universal Counter for Remote Operation

How to Program the Counter for Math/Limit Operations

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

Set scale value.

:TRACE OFFSET, 100

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

Enable math.

:CALC:IMM

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

Clear any menu items that may be on

:DISP:TEXT:FEED ‘CALC2’

display.

Show the non-statistical result.

:CALC2:LIM:DISP NUMBER

Use the numeric display mode.

3-50

Programming Guide