beautypg.com

Execute indirect file) – National Instruments GPIB-PC User Manual

Page 205

background image

Section Five

IBIC

©National Instruments Corp.

5-17

GPIB-PC User Manual

$

(Execute Indirect File)

In the

$

function, an indirect file is a text file that contains

IBIC

functions. It is similar to a DOS batch file and is created the same way.
This function reads the specified indirect file and executes the

IBIC

functions in sequence as if they were entered in that order from the
keyboard.

Example:

gpib0:

$ usrfile

executes the

IBIC

functions listed in the file

usrfile

, and

gpib0:

3*$ usrfile

repeats that operation three times.

The display mode, in effect before this function is executed, is restored
afterward but may be changed by functions in the indirect file.