Questions tagged [nidaqmx]

nidaqmx is shorthand for National Instruments (NI) Data Acquisition. NI has developed several software products for using their hardware, e.g. LabVIEW. They also have released an extensive C header file and a dll to facilitate use of their hardware in other user software (Measurement Studio). Examples in several flavors of C, visualBasic, and Python can easily be found on the Web.

This tag should be used when questions about using National Instruments hardware under various programming environments. Questions about using National Instruments software packages should likely be directed to their support services.

National Instruments has a large and well-developed library of information at: Getting Started with NI-DAQmx

While NI seems to be pushing people to use their package LabVIEW, they will answer questions from people using the "C" library. Python users have expressed frustration at the lack of native support. A stable wrapper of the "C" library has been developed at: PyDAQmx

134 questions
0
votes
0 answers

Unable to add a NIDAQ dll reference to Visual Studio 2012

I have a project which is simulating a graphical environment. What I need in this program is to integrate it with NIDAQ library. Currently I am getting LNK2019 of unresolved external symbol. LNK2019: unresolved external symbol DAQmxCreateTask…
0
votes
1 answer

Use of Range Sensors and Data Acquisition Hardware in MATLAB

I am researching on data transfer from range sensor (Hokuyo UBG-04LX-F01) to matlab directly, using the matlab data acquisition toolbox and I came across the NI-DAQ (data acquisition hardware). Here is what I know so far; Data sent directly to…
Anderson
  • 211
  • 1
  • 2
  • 3
0
votes
2 answers

Error while running program in qt to read from DAQ

I have a simple data acquisition system to read analog dc voltage from the NI USB 6009. I have also created a qt console application to use the NIDAQmxbase functionality. The .pro file is as follows QT += core QT -= gui TARGET = untitled4 CONFIG +=…
0
votes
1 answer

DAQ Matlab toolbox: how to count trigger events without an edge counter channel and how to output different value at each successive trigger

I need your help with the session based interface for the Matlab DAQ toolbox. I have not been able to find much help in the MathWorks tutorials or examples. I am currently using a USB-6003 DAQ from NI. So basically in my system I have 2 analog…
user44756
  • 1
  • 1
0
votes
1 answer

Tox returning key error: 'PROGRAMFILES' when running DAQmxConfig.py file

I am getting an error when running py.test command. Inside the tox file, I have setup the deps to install pytest-bdd, PyDAQmx, and all other relevant installations. My problem is that the DAQmxConfig.py file (that comes with the pydaqmx…
theQuestionMan
  • 1,270
  • 2
  • 18
  • 29
0
votes
1 answer

Qt 5.5.1 MSVC 2013, 32 bit - LNK1181: cannot open input file 'NIDAQmx.lib'

I'm using Qt creator 3.5.1 to try and compile c code from a National Instruments DAQmx example. To do this I need to include a header file "NIDAQmx.h" and link a library file "NIDAQmx.lib". Both this files are present in the project folder. When I…
A. Vieira
  • 1,213
  • 2
  • 11
  • 27
0
votes
1 answer

PyDAQmx importing confusion

I'm trying to use PyDAQmx. If I try to import like from PyDAQmx.DAQmxFunctions import * ... DAQmxResetDevice(ch) #unresolved the function call is not recognized. However the following works just fine: import PyDAQmx.DAQmxFunctions…
kbau
  • 203
  • 1
  • 10
0
votes
2 answers

DAQmx Create Virtual Channel (VI) [Labview]

i'm tring to set maximum and minimum value like showed in the picture. http://postimg.org/image/88qekr6jn/ it seems that nothing change if I change the value of constants, is it the right way to set the range of device?
Pietro Z.
  • 521
  • 2
  • 6
  • 18
0
votes
1 answer

Using PyDAQmx to read analog input with different Voltage Levels

I am using NI USB-6289 to measure two channels (A and B) analog input voltage at the same time with PyDAQmx. The range of Channel A's input is (-0.1, 0.1). While Channel B is (-5.0, 5.0). We found the value of channel A is not accurate. BTW, the…
limin
  • 1
  • 1
0
votes
1 answer

Matlab to call C# or C and control NI DAQ

I'm required to use MATLAB to control an NI DAQ software, and set parameter for NI, can it be done by Matlab programming alone or better to call another C or C#? And how?
0
votes
1 answer

How to set sampling rate when reading force sensor data using NI DAQ card

I am reading force sensor data using NI DAQ card, I am able to read the data perfectly but I am confuse how to set the desired sampling rate.Right now when I am checking the sampling rate it is giving me random value like some time it is 500hz and…
nabeel
  • 159
  • 2
  • 3
  • 13
0
votes
1 answer

Using PyDAQmx to read analog input yields constant values

Hello fellow stackers, Today I discovered a Python module called PyDAQmx, which I intend to use to read out the analog data channels from a National Instruments USB-6221 data acquisition box. I have used this box in conjunction with LabView, but I…
MPA
  • 1,878
  • 2
  • 26
  • 51
0
votes
1 answer

National Instruments USB 6009 not recognizing digital channels in Matlab

I am trying to use a National Instruments USB6009 with Matlab(2012a on Windows 7) using the Data Acquisition Toolbox, but when I look at the device it does not register any available digital channels: daq.getDevices ans = ni: National Instruments…
Eric C
  • 1
0
votes
1 answer

Matlab Data Acquisition, PCI card incorrectly detected as a PXI Chassis card

In Matlab 2014b,2014a,2013b,2013a (not using simulink) Windows7 64-bit session based data acquisition toolbox Using NI-DAQmx 14.1 and NI-DAQmx 14.0 I have a PCI card that is being incorrectly detected as being present in a PXI chassis. This causes…
St-Ste-Ste-Stephen
  • 1,076
  • 10
  • 19
0
votes
1 answer

Setting the Frequency for Analog Output using NI DAQMx

I'm trying to ouptput a the waveform contained in a wav file using the NI DAQMx ANSI C library. I'm using the libsnd library to read the wav file and I'm able to extract the data sucessfully, however the frequency of the output waveform is much…
Atul
  • 13
  • 1
  • 3
1 2 3
8
9