Chapter 3 Programming Your Universal Counter for Remote Operation

How to Program the Counter to Display ResultsCommands for Displaying Scaled/Offset Results

The following lines will enable Math (scale/offset). It is assumed that the values for scale and offset are already set. If not, the default value for scale is 1 and for offset is 0.

:DISP:MENU OFF

:DISP:TEXT:FEED ‘CALC2’ :CALC2:LIM:DISP NUMBER :CALC:MATH:STATE ON :CALC:IMM

Clear any menu items that may be on display.

Show the non-statistical result. Use the numeric display mode. Enable math.

Cause a calculation to be made to update display.

Note that :CALC2:LIM:DISP NUMBER will only show the raw result if the command :DISP:TEXT:FEED ‘CALC2’is also issued. These commands must be issued in pairs.

Commands for Displaying the Limit Graph

The following lines enable limit testing and show the limit graph.

If the Math is enabled, the scale and offset will be applied to the measurement result before being tested for the limit graph.

:DISP:MENU OFF

:DISP:TEXT:FEED ‘CALC2’ :CALC2:LIM:STATE ON :CALC2:LIM:DISP GRAPH :CALC:IMM

Clear any menu items that may be on display.

Show the non-statistical result. Enable limit testing.

Display the limit test result graph.

Cause a calculation to be made to update display.

Commands for Displaying Statistics Results

The following lines enable Statistics. The default value displayed is Mean.

:DISP:MENU OFF

Clear any menu items that may be on display.

:DISP:TEXT:FEED ‘CALC3’

Show statistical results.

Enable statistics.

:CALC3:AVER ON

 

3-44

Programming Guide