User manual

Function Operation
4-130
AM700 Audio Measurement Set User Manual
Functions are stored in two different directories in the AM700. Those stored in
rom:/function are permanently stored for specific purposes by the factory. Those
stored in nvram:/function are user generated. From the front panel, stored functions
can be started using menu choices called up by the Function button.
1. Press the Function button to bring up the menu of available functions.
2. Touch the screen either in the File name area to select a function by file name
or in the description area to select a function by description.
3. Rotate the large control knob to select the function you want to run. All the
available function files from both the rom:/function and the nvram:/function
directory will be listed.
4. Touch the Run Function soft key to start the function running. If the function is
not self terminating, the Stop Function soft key can be used to halt the one in
progress. When a function is running repeatedly, the number of times that it has
run appears in the Running column.
Other choices in the Function menu are showing or not showing the available list of
functions as read from the rom:/function and nvram:/function directories. If you are
loading in a new function from the disk drive, you can turn off the list to clear the
display of unneeded information. Another user option is to Show Output or not. If a
function has textual output, it can be viewed in the window created when Show
Output is enabled.
Functions can be created externally to the AM700 using Tcl programming and
loaded, using the floppy disk drive, into the file system of the AM700. Front-panel
menus for loading files into the internal file system are called up by the Storage
button. Functions can also be loaded through SCPI commands using the PROGram
subsystem commands.
Sample Function Program. A function program can be very simple or it can contain
many steps. A running function program in interpreted by the Tcl parser. Some Tcl
formatting information is required. A few points are mentioned here to show why
they are used in the sample. Full information on Tcl programming is found in Part 1
of Tcl and the Tk Toolkit: Addison-Wesley Publishing Company, 1994.
H Tcl comments are preceded by a # symbol as the first nonblank character in the
line. The # symbol appearing in the line at other locations is treated as any other
character.
Running a
Function
Writing a
Function