
Appendix E
Using the Pattern Generator
© National Instruments Corp.
E-5
GPIB-410 User Manual
Examples of INCLUDE:
a.
include myfile.pat
b.
include a:\tmp\test3.pat
(4) PAUSE [ n ]
This command is used to suspend output of the pattern buffer for
approximately n msec before proceeding. If specified, the value n
must be an integer in the range 1 to 65,535. If n is omitted, its
value defaults to 1,000. Because this function relies on the built-in
timer interrupt of the host PC system, pause intervals that do not
correspond to an integral number of timer ticks are rounded to the
nearest integral value. Timer ticks occur approximately once every
55 msec.
Examples of PAUSE:
a.
pause 50
; pause for 50 msec
b.
pause
; pause for 1 sec
c.
pause 3000
; pause for 3 sec
(5) {
command
command
:
}
This command is used to group together a sequence of one or more
commands into one compound command, much like similar
constructs found in C or Pascal. The command is initiated by the
symbol "{" on the first line of the sequence and terminated by the
symbol "}" on the last line. The commands to be grouped are
placed on intervening lines, one per line, with optional indentation
for clarity. This command is used for the purpose of applying a
single repetition factor to an entire sequence of commands - in other
words, it is used to create a loop.