Examples
4–6 AM700 Audio Measurement Set Programmer Manual
An * in a field means to do it on all occurrence. An exception to the * usage is
that if both the day of the week and the day of the month fields have an * it just
means “every day.” If only one of these two fields has an *, that field is
ignored, and if neither has an *, both fields are used.
Example: 0 0,12 * * * specifies a time of midnight and noon every day.
Example: PROG:SEL:TIM:SET 30 * 1,15 5 *,45 17 19 5 *
This sets the times for the timed function at every half past the hour, on the 1st
and 15th of May and a again at 17:45, on the 19th of May..
Use the PROG:SEL:TIM:ADD <cron_string> command to add new times to
the same named function and use the PROG:SEL:TIM:CLE command to clear all
the times for a named function. If you want other timed functions to run, change the
named function and use the PROG:SEL:TIM:SET command to set a new
cron_string or set of cron_strings for the newly named command.
PROG:EXPL commands are used in the same manner as the PROG:SEL commands
but explicitly name the function to which the command applies. See the Program
commands in AM700 SCPI Commands, Section 3, for further details on the
PROGram commands and their use in running functions.
Example: PROG:EXPL:TIM <prog_name>,<cron_string>
PROG[:SEL]TIM:SET and PROG:EXPL:TIM:SET return the current set of
cron_strings for a program, and the TCATalog commands return the list of
programs with cron–strings attached.
Here are some additions, changes, and limitations of the AM700 Tcl environment as
it is used for Functions.
Added commands:
Command: sleep <seconds> [<tenths> [<hundredths>]]
Usage: Delay for the specified seconds and optional tenths and hundredths of seconds
Command: notifier <message> <buttons> [notifier | warning |
error] [wait]
Tcl
Programming
Changes