LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NIDAQ and NIDAQmx

I had a controller from Galil. I use Labview 6 and NIDAQ6.9. It shows one error when I open the program. Error 10401 AO Group Config. But if I ignore this problem, the program can still work to send out signals, but it cannot read in anything. I googled that, it might be because I use the tradition NIDAQ, so I downloaded the NIDAQmx. But now when I open the progam, it shows lots of errors: missing AI Group subvi, AO Group subvi...things like that. I don't know what is going on or what should I do. Please help! It is very urgent. Thanks.

0 Kudos
Message 1 of 14
(3,187 Views)

DAQmx is far superior to the traditional version once you come to terms with the fundamental differences between the two.  Unfortunately, there is no automated process for converting DAQ code to DAQmx as far as I know.  So, you'll have to learn DAQmx and then re-write your code using DAQmx.  This will get you started:

 

http://zone.ni.com/devzone/cda/tut/p/id/4342

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 2 of 14
(3,173 Views)

DAQmx is not even available for LabVIEW 6 so installing it was a waste of time. Resinstall tranditional DAQ.

 

The only hardware you mention is something from Galil and that is not NI hardware so what are you doing with any version of NI DAQ software.

0 Kudos
Message 3 of 14
(3,165 Views)

Thanks for your suggestion. But when I installed daqmx, how can i fix the missing AI group...problems?

0 Kudos
Message 4 of 14
(3,162 Views)

I talked with Galil guy, they provide some subvis that can combine the hardware with the labview program. We use the same program on our old system. It works well. But the only difference is that the old system use NI DAQ card, the new system use Galil controller which includes a DAQ card.

0 Kudos
Message 5 of 14
(3,160 Views)

If it's not an NI board then that explains the error message that goes along with the code you are getting.

0 Kudos
Message 6 of 14
(3,148 Views)

However, I can still use the program to control the motor connecting to the Galil controler. So I think the singal can be sent from PC to Galil, but the Galil cannot read in any signals. That is the problem.

0 Kudos
Message 7 of 14
(3,144 Views)

Hi RobinX,

I did a little more research and found a similar NI forum post. (http://forums.ni.com/t5/Signal-Generators/Upgrade-from-Labview-6i-to-6-1-produces-Error-10401-at-AO-...) The customer's problem was solved by updating to the latest version of the DAQ driver that supported their version of LabVIEW. In your case, that would be NI DAQ 6.9.3. (http://joule.ni.com/nidu/cds/view/p/id/825/lang/en)

Kareem W.
National Instruments
Web Product Manager
0 Kudos
Message 8 of 14
(3,094 Views)

Thank you so much Kareem. But we've been using DAQ693 and it still shows the problem. Do you think it might be because the driver of Galil is not installed properly?  I didn't find the device in the measurement and explore.

0 Kudos
Message 9 of 14
(3,075 Views)

RobinX,

A third party card will not show up in the Measurement and Automation Explorer (MAX). MAX uses the NI-DAQ driver to discover devices and the NI-DAQ driver only communicates with NI hardware. As far as how to verify that your 3rd party device is working properly, I would first check the Windows device manager. I would then check to see if the manufacturer included any example code that you can run or a method to self test their device. If you cannot make any progress, I would call them back. By the way, is this a PCI card?

Kareem W.
National Instruments
Web Product Manager
0 Kudos
Message 10 of 14
(3,060 Views)