beautypg.com

Figure 4-2. select your controller in visaic – National Instruments NI VXIpc-882 User Manual

Page 52

background image

Chapter 4

Developing Your Application

NI VXIpc-882 User Manual

4-4

ni.com

Note

You can also use VXI Interactive Control Program (VIC) to control your VXI/VME

devices and develop and debug VXI application programs. VIC is not included in the
default NI-VXI installation; to install it, select NI-VXI API Development from the
custom installation screen in the installer.

You can launch VISAIC (or VIC) from the Tools menu in MAX or from
the VISA or VXI subgroups in Start»Programs»National Instruments.

Try the following in VISAIC: In the tree view, navigate using your mouse
to the VISA resource for your controller—probably VXI1::0::INSTR,
representing the VXI system 1, logical address 0 instrument resource (refer
to Figure 4-2).

Figure 4-2. Select Your Controller in VISAIC

Open the selected resource and navigate to the Register I/O tab. In this tab,
you can read registers on your device, such as the VXI device configuration
registers. Execute the viIn operation (called In in LabVIEW compatibility
mode) with the default parameters. The Data Value field shows the I/O
operation result, such as

0x9ff6

. The Return Value field shows the

function status, such as

0

for

VI_SUCCESS

(see Figure 4-3).