Creating Downloadable Programs

Executing User-De￿ned Functions

To execute a function via computer

￿Use an output statement to send the function name as you would any OSA command.

Be sure to terminate the function name with a semicolon. For example, to execute a user-de￿ned function named HIGH PEAK:

10 OUTPUT 723;"HIGH_PEAK;"

To execute a function via front-panel keys

1.Press 4MENU5 and then NMiscNNNNNNNNNNNNN.

2.Press NNMORENNNNNNNNNNNNNN1NNNNNNofNNNNNNNNN3NNNN.3.Press NexecuteNNNNNNNNNNNNNNNNNNNNNNNNDLPNNNNNNNNNN.

The NexecuteNNNNNNNNNNNNNNNNNNNNNNNNDLPNNNNNNNNNN softkey lists all user-de￿ned functions stored in internal memory (except those whose name ends in two underscore characters).

4.Press a key to execute its function. The LOAD or RCLU command recalls stored 4USER5 key ￿les.

6-13