Examples
4–4 AM700 Audio Measurement Set Programmer Manual
Function 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
may be started using menu choices called up by the Function button. You can assign
a function to the user button using the following commands:
PROGram:SELected:USER[:NAME] <progname>
PROGram:SELected:USER:SET
or
PROGram:EXPLicit:USER[:NAME] <progname>
At power on, if there is a function called “startup.tcl” stored in the nvram function
directory, that function will be run. Any output from the startup.tcl function appears
in the regular function output window.
Running a function from remote control using SCPI commands requires the
following steps:
1. Send PROG:CAT? to get a comma separated list of the available functions.
Function names are recovered from the rom:/function and from the
nvram:/function directories.
2. Use the PROG:SEL:NAME <progname> command to select the function
program to run.
You may also use the PROG:EXPL:STAT <progname>,RUN command
at this point to start the function named explicitly.
The syntax of the <progname> file can be used without quotes, unless a
period is used in the name to separate the base from the extension. If so, then
quotes are required to convey the name to the AM700. Without the quotes,
the AM700 will report the command as an error.
Examples:
prog:expl:stat test1,run
prog:name ”t_0044.tcl”
Running a
Function