Chapter 3 Developing Your Application
©
National Instruments Corporation 3-3 VXI/VMEpc 600 Series for Windows 95/NT
Device Interaction
After Resman has detected and configured all VXI devices, you can view
specific information on each device in your system by using the T&M
Explorer utility. This utility includes a System View, which contains a
description for each device, including each VXI device’s logical address.
You can interact with your VXI 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 devices without having to use a conventional
programming language, LabVIEW, or LabWindows/CVI.
Note
You can launch VIC or VISAIC from the Tools menu in T&M Explorer.
Try the following in VIC:
In the Command entry field, type
help vxiin.
This help file shows you the syntax for this command, which reads VME
address space. The first argument is the access parameters for selecting the
address space, byte order, and so on. The second is the VME address to
read, and the third is the width of the data to read.
Type:
vxiin 1,0xC000,2
The History window shows the result of the command execution, such as:
Return Status (0): SUCCESS.
value = 0x9ff6
If the value ends with ff6, you have successfully read the National
Instruments manufacturer ID from the VXI/VMEpc-650 ID register.
Because this is the first configuration register present for all VXI devices,
the VXI device at Logical Address 0 has its manufacturer ID register
located at A16 address 0xC000—the beginning of the VXI configuration
space.
You may now want to read the registers from other devices in your system
using the command
vxiin. Try reading a register from each of the devices
listed in the Address Map View of T&M Explorer. In this way, you can
verify that your VXI/VMEpc-650 can access each of the devices in your
system successfully.