Using set – National Instruments GPIB-PC User Manual

Page 194

Advertising
background image

IBIC

Section Five

GPIB-PC User Manual

5-6

©National Instruments Corp.

Using

SET

Use

IBFIND

to open each device or board. Once the device or board is

opened, use the auxiliary function

SET

to select which opened device

or board to access.

SET

changes the prompt to the new symbolic name.

Example:

dev1:

plotter:

set plotter

This example assumes that

IBCONF

was used to give a device the

name plotter.

The following example summarizes the use of

IBFIND

and

SET

in a

typical program.

Example:

dev1:

plotter:

ibwrt "F3T7G0"

[0100] (cmpl)

count: 6

plotter:

set dev1

dev1:

ibwrt "X7Y39G0"

[0100] (cmpl)

count: 7

dev1:

ibfind plotter

: ibfind dev1

Advertising