Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

New to NI-DAQmx? Check out the new Getting Started with NI-DAQmx Series!

 
Are you new to NI-DAQmx? 
Would you like to see videos that demonstrate how to build an NI-DAQmx application in LabVIEW?
Are you interested in advanced NI-DAQmx functionality? 
Do you want to know how you can build your LabVIEW NI-DAQmx application into an installer?
 
If you've answered yes to any of these questions then this series is for you...
 
Check out the new Getting Started with NI-DAQmx Series at www.ni.com/gettingstarted.
 
 
 
Salvador Santolucito
Multifunction DAQ Product Support Engineer
Message 1 of 35
(10,795 Views)

I have a problem after installing a USB-6008 correctly , testing it in "MAX" , I did'nt find the DAQmx utilities in Labview (Functions - I/O mesures ) with the same CD I have used before in an another computer . ?

regards

Chris

C.D.
0 Kudos
Message 2 of 35
(10,446 Views)
 
 
 

Hello Chris,

Are you sure that you installed support for the correct version of LabVIEW when you installed NI-DAQmx? If you did not select the support for your version of LabVIEW in the installation menu, then the NI-DAQmx palette will not appear in your Functions palette. If you look at the NI-DAQmx for USB Devices Getting Started Guide, step 2 on page 1 discusses installation options for NI-DAQmx. I have attached a screen shot that shows the window in which you select features to install. These options allow you to select the supported versions of LabVIEW during the NI-DAQmx install.

Do you know what version of LabVIEW you are using? What version of NI-DAQmx? Compatibility between NI-DAQmx and LabVIEW may also be dependent on the version of each. You can find information about the compatible versions of LabVIEW on the NI-DAQmx FAQ Page.

 

Message Edited by Matt A on 02-19-2007 05:22 PM

Message Edited by Matt A on 02-19-2007 05:24 PM


Matt Anderson

Hardware Services Marketing Manager
National Instruments
0 Kudos
Message 3 of 35
(10,391 Views)

hi,

We had developed a Visual C++ program to do some data acquisition job using a PCI-6034E card. The DQA driver we used was v7.5. We will like to switch to a USB-6215 card instead.

I installed the USB card on a Win XP Pro SP2 PC with the new NI-DQAmx v8.3 and it works fine with the Measurement and Automation Explorer. However, encounted problems when I rebuilt the C++ program:

The first error was that "Cannot open include file: 'nidaqex.h'". I noticed this file exists in the Include folder in v7.5 but in v8.3 there is only 'nidaqmx.h' in the \DAQmx ANSI C Dev\include folder, so i use that instead. But it still didn't go through with the following errors:

error C2065: 'DAQ_Rate' : undeclared identifier
error C2065: 'Timeout_Config' : undeclared identifier
error C2065: 'NIDAQErrorHandler' : undeclared identifier
error C2065: 'AI_Configure' : undeclared identifier
error C2065: 'DAQ_DB_Config' : undeclared identifier
error C2065: 'Config_DAQ_Event_Message' : undeclared identifier
error C2065: 'SCAN_Setup' : undeclared identifier
error C2065: 'SCAN_Start' : undeclared identifier
error C2065: 'DAQ_Clear' : undeclared identifier
error C2065: 'DAQ_Monitor' : undeclared identifier
error C2065: 'SCAN_Demux' : undeclared identifier
error C2065: 'DAQ_VScale' : undeclared identifier
error C2065: 'NIDAQYield' : undeclared identifier

I am new to NI products and DAQ programming, appreciate your help...

Grace

0 Kudos
Message 4 of 35
(10,094 Views)
 

Hello Grace,

There is a document on our website that I think may address your issue. The document discusses an error you may receive when running Example Programs from nidaqex.h in Visual C++ and can be found here. I hope this information is helpful.

 

Matt Anderson

Hardware Services Marketing Manager
National Instruments
0 Kudos
Message 5 of 35
(10,061 Views)
Hi

I am working on a similar project to upgrade from a traditional DAQ to DAQmx.
You have to include the nidaqmx.h of course but you have also to use the new functions DAQmx...
DAQ_Rate, Timeout_Config,
DAQ_DB_Config are no longer supported by the DAQmx driver.
Refer to the Reference C help file to see how to implement your application with the DAQmx driver. I am starting this task and it sound like there a lot of thing to review... For exemple, the DAQ_DB_Config is now implicit when you make continuous acquisition.
Have a look to the samples files.  (C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C) if under windows...

Good luck

Hub

0 Kudos
Message 6 of 35
(9,962 Views)

Hi

Thanks for sharing.

Yes, we are using the sample examples as a starting point to learn the 'new' ways to drive the card with new DAQmx functions. I was hoping to find out more from NI site on the relationship between the old and new functions but was untable to obtain any yet. Like you said, there is a lot to read..

Please continue to keep us posted with your progress so we can share your valuable experience!

Thanks:)

 

 

0 Kudos
Message 7 of 35
(9,892 Views)
 

Hello manuka & Hub,

There is a series of articles in the NI Developer Zone that discusses transitioning from NI-DAQ to NI-DAQmx in the Microsoft Visual Basic .NET development environment. The first article in this series can be found here and contains links to the subsequent articles. This information may help you in your development.

 

Matt Anderson

Hardware Services Marketing Manager
National Instruments
0 Kudos
Message 8 of 35
(9,870 Views)
Hello;
I am looking for some help on the NIDAQmx software.  I will be using an NI USB-6211 multifunction DAQ for my data acquistion application & I would like to use LabWindows/CVI as an ANSI C programming environment for the device.  Does anybody know what version of NIDAQmx I should install?  I am currently using LabWindows/CVI version 7.1.  Thanks for your help!
0 Kudos
Message 9 of 35
(9,410 Views)
 

Hello ajwalsh,

If you have a new question it is best to create a new forum post. Creating a new forum is more likely to draw visits from users willing to help, as compared to posting your question on an existing forum. That being said, you can view this page to determine the current driver version for your USB Multifunction DAQ Device. In your case NI-DAQmx 8.5 is the latest version available for the USB-6211. You can find the driver online here. This page also contains the NI-DAQ 8.5 Readme which contains the following information:

NI Application Software Versions Supported by NI-DAQmx Versions Supported by Traditional NI-DAQ (Legacy)
LabVIEW 7.1 and later 7.0 and later
LabVIEW Real-Time Module 7.11 and later 7.0 and later
LabWindows/CVI 7.x and later 6.0 and later
Measurement Studio 7.x and later 6.0 and later
LabVIEW SignalExpress 2.x and later  
1To use LabVIEW Real-Time Module 7.1 with NI-DAQmx, you must use NI-DAQmx 7.2 or later.
2Traditional NI-DAQ (Legacy) with the Measurement Studio ActiveX control. These versions do not include a Measurement Studio C++ or .NET interface.

 

 

Matt Anderson

Hardware Services Marketing Manager
National Instruments
0 Kudos
Message 10 of 35
(9,405 Views)