Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 4 out of 5     Rate this Document

VXI DAQ Configuration and Troubleshooting

Hardware: VXI/VME/MXI>>VXI Data Acquisition and Instrument Modules

Problem:
How do I use my VXI Data Acquisition (DAQ) device?

Solution:
To get started, you will need to use the proper version of NI-VXI for your controller and the latest version of NI-DAQ that supports your board (see the link to our Drivers and Updates Library, below). To communicate with DAQ devices you must use NI-DAQ functions. Please check the user manual for your device for more information.

Why is my VXI MIO data acquisition device failing a resource test?
In the Measurement & Automation Explorer (MAX) right-click on your controller and select "Hardware Configuration". On the General tab there is a pulldown box labeled "Common Configurations". Choose "VXI DAQ Configuration". The computer will need to be restarted for the new configuration to take effect.

Note: With some of the newer versions of NI-VXI (3.x or later), the "VXI DAQ Configuration" option may not exist on the "Common Configurations" pulldown box. This option merely configured the controller to share memory with the data acquisition device. If this option does not exist, go to the "Shared Memory" tab in the "Hardware Configuration" and select to share memory in A24 or A32 space accordingly. Be sure also to specify "Shared RAM Amount" to share "All System Ram" or to be the amount supported by your controller.

What is the purpose of the RAM module socket on the VXI DAQ board?
A RAM module allows you to perform a continuous acquisition with non-MITE based controllers (only single point I/O would be supported otherwise) and can also improve the performance of a MITE based system. Users can have several DAQ modules all acquiring data at maximum capacity (until each module fills its 64 MB max memory) and then get the data from the RAM when the system is not busy. Please see the user manual for your VXI DAQ board (see the link to our Product Manuals Library, below) for what type of RAM to use and more information.

How do I use the VXI DAQ onboard memory in my programs?

LabVIEW: All of the LabVIEW DAQ VIs can utilize the onboard memory. You can develop your applications using either the NI-DAQ functions, or the MIO instrument driver. It is recommended that you do not mix NI-DAQ and Instrument driver functions in the same application.

NI-DAQ: AI Config - Set "allocate DSP memory"

MIO Instrument Driver: Set "allocate on-board memory", Set number of scans to acquire

LabWindows/CVI: You can develop your applications using either the MIO instrument driver or the EASY I/O NI-DAQ functions. It is recommended that you do not mix instrument driver and Easy I/O functions in the same application.

MIO Instrument Driver: Set "allocate on-board memory", Set number of scans to acquire

Easy I/O: Set_DAQ_Device_Info Attribute ND_VXIMIO_SET_ALLOCATE_MODE set to ND_VXIMIO_USE_ONBOARD_MEMORY_AI
    LabWindows Easy I/O Example:
      sizeOfData = numSamples * 8;
      dataBuffer = malloc(sizeOfData);
      // Configure MIO card for on-board memory and acquire waveform
      Set_DAQ_Device_Info (deviceNum, ND_VXIMIO_SET_ALLOCATE_MODE,
      ND_VXIMIO_USE_ONBOARD_MEMORY_AI);
      AIAcquireWaveforms (deviceNum, "2", numSamples, desiredRate, 5.0, -5.0,
      &actualRate, GROUP_BY_CHANNEL, dataBuffer);
Other Development Environments: You must use the MIO instrument driver in order to utilize the onboard memory. Note that you can still use NI-DAQ function calls if you do not need to use the onboard memory.

What Signal Conditioning Modules/Accessories can I use with my VXI DAQ Device(s)?
Several Signal Conditioning Modules and Accessories are available. For high channel count systems, we recommend using either SCXI and/or VXI-SC modules. For lower channel counts, consider using a front panel terminal block, SCC modules, or a SC-2056 adapter board that allows you to attach additional signal conditioning accessories. The following table summarizes the various signal-conditioning options.


Option
Connection
VXI-TB-[1:2]-96Front panel terminal block, screw terminals

TBX-96, SH96-96
DIN RAIL mount terminal block, screw terminals

SCXI-1356 (SH96-6868)
SCXI, TBX-68, SCC modules

SH96-100
SC-2056 adapter board
VXI-TB-1303Front panel terminal block, screw terminals
VXI-SC-1000, VXI-SC-1102,
VXI-SC-1150, SCMP
VXI-TB, TBX-96, SH96-100, VXI0TB-1303, etc.



Related Links:
Data Acquisition Support
SCXI & Signal Conditioning Support
VXI Support
VXI Support: Current NI-VXI Driver Versions

Drivers and Updates Library
Product Manuals Library

Developer Zone: Instrument Driver Network

KnowledgeBase 2688KBYQ: Using MAX to Configure VXI/VME Devices

Calibration

Attachments:





Report Date: 09/27/2001
Last Updated: 11/18/2004
Document ID: 2DQF7Q58

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit