National Instruments VXI-1394 User Manual

Page 26

Advertising
background image

Chapter 3

Developing Your Application

© National Instruments Corporation

3-5

VXI-1394 User Manual for Windows

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

, as shown in 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.

You can also access VXI and VME devices configured in A16, A24, or A32
space by opening the VXI MEMACC resource, which is VISA’s
representation of VXI memory. For more information about VISAIC
operations and commands, refer to the online help in the Help menu
and the context-sensitive help (such as What’s This?), available by
right-clicking in any panel.

Advertising