Contributions:NIDAQ-MX: Difference between revisions

From BCI2000 Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:
National Instruments is one of the most widespread vendors of Data Acquisition boards, and also of the software LABVIEW used in many laboratories. Thus, data acquisition boards from NI are common in many systems and can be used as EEG source under BCI2000.
National Instruments is one of the most widespread vendors of Data Acquisition boards, and also of the software LABVIEW used in many laboratories. Thus, data acquisition boards from NI are common in many systems and can be used as EEG source under BCI2000.


The NI_DAQ_MX component implements the source code for the configuration and the control of NI boards using the NIDAQ MX driver version 8.5 or later. The driver also supports some of traditional NIDAQ (legacy) one, please refer to the official NI documentation for the complete list of supported boards (NI DAQMX 8.5 readme).
The NI_DAQ_MX component implements the source code for the configuration and the control of NI boards using the NIDAQ MX driver version 8.5 or later. The driver also supports some of the traditional NIDAQ (legacy) boards, please refer to the official NI documentation for the complete list of supported boards (NI DAQMX 8.5 readme).


==Location==
==Location==

Latest revision as of 14:22, 2 February 2011

Synopsis

National Instruments is one of the most widespread vendors of Data Acquisition boards, and also of the software LABVIEW used in many laboratories. Thus, data acquisition boards from NI are common in many systems and can be used as EEG source under BCI2000.

The NI_DAQ_MX component implements the source code for the configuration and the control of NI boards using the NIDAQ MX driver version 8.5 or later. The driver also supports some of the traditional NIDAQ (legacy) boards, please refer to the official NI documentation for the complete list of supported boards (NI DAQMX 8.5 readme).

Location

http://www.bci2000.org/svn/trunk/src/contrib/SignalSource/NIDAQ-MX

Versioning

Authors

Giulio Pasquariello, Gaetano Gargiulo

(c) 2008 DIET Biomedical unit

University of Naples "Federico II"

Version History

  • V1.00 - 02/01/2008 - First start and first functioning BETA version
  • V1.05 - 07/01/2008 - Added documentation of each function

Source Code Revisions

  • Known to compile under: 1750 (BCI2000 v1.41 tag)
  • Broken since: --

Functional Description

The diffusion of NI board in measurement laboratories created the need for support of newest devices in BCI2000. This document describes this support that consists a BCI2000-compatible Source Module (NIDAQmx.exe). This module is described below and has been tested with DAQPad 6015 USB.

NIDAQmx Source Module

The BCI2000-compatible Source Module NIDAQmx.exe can be used instead of any other source module. In addition to standard parameters (i.e. SampleBlockSize, SamplingRate, SourceCh), this BETA driver is limited to acquire 16 channels and the terminal configuration is fixed to "Not Referenced Single Ended" on a bipolar range of ± 5V. These settings may be changed at compilation time, and all the config instructions are placed in the ADConfig() function. Please refer to your hardware manual for supported settings.

Parameters

BoardNumber

The NI-ADC board's device number.

States

None.

Notes on recompiling

Include the nidaqmx.lib file in the project. This library file has already been converted from OMF to COFF using the omf2coff DOS utility contained in the Borland C Builder directory and is included in the ZIP file; the original NIDAQmx library is also included, and has been renamed to NIDAQmx_orig.lib.

See also

User Reference:Filters, Contributions:ADCs