VXI/VME-PCI8022 for Solaris Installation Guide
6
ni.com
You should enter the information about your VME devices into the
vxiedit
or
vxitedit
utility. Resman can then properly configure the
various device-specific VME address spaces and VME interrupt lines. For
more information on configuring non-VXI devices in your VXI system,
refer to the description of the
Non-VXI Device Configuration Editor
in
Chapter 3,
VXI Resource Editor: VXIedit
, of the
NI-VXI Graphical Utilities
Reference Manual
. For more details about installing the NI-VXI software,
refer to Chapter 5,
NI-VXI Software Installation
, of the
Getting Started
manual.
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
vxiedit
or
vxitedit
utilities. These utilities include a Resource
Manager Display, which contains a description for each device, including
each VXI device’s logical address.
You can interact with your VXI/VME devices by using the
vic
or
victext
utilities. These utilities let you interactively control your VXI/VME devices
without having to use a conventional programming language, LabVIEW, or
LabWindows
™
/CVI
™
.
Try the following in
vic
or
victext
:
At the prompt, 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.
Now type:
vxiinreg 1,0
This should return a value, such as:
Return Status (0): SUCCESS.
value = 0x4ff6
If the value ends with
ff6
, you have successfully read the National
Instruments manufacturer ID from the ID register for the VXI/
VME-MXI-2.
You may now want to read the configuration registers from other VXI
devices in your system using the command
vxiinreg
. This command
accesses only the upper 16 KB of A16 space. Try reading the registers from