
Chapter 3
Developing Your Application
3-2
ni.com
Instruments devices, you can configure the hardware settings directly in the
property pages.
MAX and Resman are designed to work together. You can run the
Resource Manager through MAX by either clicking on the
Run VXI
Resource Manager
button on the toolbar or selecting
NI-VXI»VXI
Resource Manager
from the
Tools
menu. From the
VXI Options
dialog
in the
Tools»NI-VXI
menu, you can also configure MAX to run Resman
automatically when the computer boots up. Resman reports all errors it
finds in your system to MAX. When you view your system through MAX,
you can easily spot any errors in your system that Resman found.
You can find more information about MAX by using its online help.
From MAX, open the
Help
menu and select
Help Topics
.
Device Interaction
After Resman has detected and configured all VXI/VME devices, you
can view specific information on each device in your system by using the
MAX utility. This utility includes a configuration view, which contains a
description for each device, including each VXI device’s logical address.
You can also interact with your VXI/VME devices by using the VIC or
VISAIC utility (VIC for NI-VXI or VISAIC for NI-VISA). You can use
these utilities to interactively control your VXI/VME devices without using
a conventional programming language, LabVIEW, or Measurement Studio.
Note
The VIC utility is not part of the basic NI-VXI installation. However, if you want to
use VIC, run the NI-VXI installer and select a “custom” installation instead of “typical.”
In the
Select Features
dialog box, enable the
NI-VXI API Development
option and
continue as prompted. After you reboot, VIC will be ready for use.
Note
You can launch VIC or VISAIC from the
Tools
menu in MAX.
Try the following in VIC. In the
Command
entry field, type:
help vxiinreg
This help file shows you the syntax for this command, which reads VXI
device configuration registers. The first argument is a logical address, and
the second is the offset of the VXI device configuration register to be read.
Type:
vxiinreg 0,0