National Instruments NI-488.2 Time Clock User Manual


 
wibic–Windows Interface Bus Interactive Control Utility Chapter 5
NI-488.2 User Manual for Windows 5-16 © National Instruments Corp.
ud0: ibrd 8
ud0: +
ud0: ibrd 8
[2100] (end cmpl)
count: 8
71 72 73 74 75 76 77 78 q r s t u v w x
n* (Repeat Function n Times)
The n* function repeats the execution of the specified function n times, where n is an
integer. In the following example, the message Hello is sent five times to the device
described by ud0.
ud0 : 5*ibwrt "Hello"
In the following example, the word Hello is sent five times, 20 times, and then 10 more
times.
ud0: 5*ibwrt "Hello"
ud0: 20* !
ud0: 10* !
Notice that the multiplier (*) does not become part of the function name; that is, ibwrt
"Hello" is repeated 20 times, not 5* ibwrt "Hello" .
$ (Execute Indirect File)
The $ function reads a specified file and executes the wibic functions listed in that file,
in sequence, as if they were entered in that order from the keyboard. The following
example executes the wibic functions listed in the file userfile.
gpib0: $ userfile
The following example repeats the operation three times.
gpib0: 3*$ userfile
The display mode that is in effect before this function was executed can be changed by
functions in the indirect file.