Chapter 3
Developing Your Application
©
National Instruments Corporation
3-5
PCI-Based MXI-2 Interfaces for Windows 2000/NT/Me/98
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 3-3).
Figure 3-3.
Successful viIn Access in the VISAIC Register I/O Tab
(This Dialog Box May Look Slightly Different for LabVIEW Users)
If the data value ends in
ff6
, you have successfully read the National
Instruments manufacturer ID from your VXI/VME controller’s ID register.
You may now want to read the configuration registers from other VXI
devices in your system by opening the devices in VISAIC. Try reading a
register from each device listed in the MAX view of your VXI system. This
way, you can verify that your VXI controller can access each device in your
VXI system successfully.