HP 53181A Programming Manual page 110

Frequency counter
Hide thumbs Also See for 53181A:
Table of Contents

Advertisement

Programming Your 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
:TRACE OFFSET, 100
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
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
If you need to query the scale and offset values, you need to know if you
are in ASCII or REAL data format. The values returned from the following query
will be sent using the format that is currently defined (:FORMat[:DATA]) in the
box. To query the scale, use the following command:
:TRACE? SCALE
Then, enter the data, keeping in mind how it will be formatted (ASCII or REAL).
3-52
Set scale value.
Set offset value.
Enable math.
Process results using scale and offset.
Clear any menu items that may be on
display.
Show the non-statistical result.
Use the numeric display mode.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents