LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI PCI-6220 not being detected by NI-DAQmx Base Task Configuration Utility

I'm trying to get a NI PCI-6220 to work with LabView 8.2 on my linux machine.  The problem is that in the NI-DAQmx Base Task Configuration Utility cannot find any devices.  Running "lsdaq" returns nothing.  I know the card and drivers are correctly installed because running "nilsdev" returns the statement:
NI PCI-6220: "Dev2"
Additionally, the test panel for this card worked perfectly. 

Any help would be appreciated.

0 Kudos
Message 1 of 11
(4,197 Views)
 Hi ZeroShadow,

 What linux distribution are you running on this machine?
 Here is a table of distributions and NI support: http://digital.ni.com/public.nsf/allkb/35D2B5E483A001A18625716B005BE464?OpenDocument

 One reason why the device isn't listed could be you have another USB device that has the NI-DAQmx firmware loaded: http://digital.ni.com/public.nsf/allkb/2D51166605447CA08625712A006B4F98?OpenDocument

 A NI-DAQmx FAQ for Linux:
  http://zone.ni.com/devzone/cda/tut/p/id/3695

 Modular Instrument Install Guide for Linux (generally useful knowledge in here)
  http://zone.ni.com/devzone/cda/tut/p/id/3672

When we know which distribution you are running then a more complete answer will be possible. Have a great afternoon!

MatthewW
Applications Engineer 
National Instruments



 

0 Kudos
Message 2 of 11
(4,179 Views)
I'm running Red Hat 4, and I don't think I have any USB NI devices plugged in.

Also, I know that LabVIEW can see the device, because when I open the front panel of the "DAQmxBase Create Channel" vi, the vi will list "Dev2/ai0" through "Dev2/ai15" under the available physical channels .

Message Edited by ZeroShadow on 07-18-2007 05:46 PM

0 Kudos
Message 3 of 11
(4,169 Views)
Hello,
 
Are you able to run a LabVIEW DAQmx Base shipping example without errors?
 
Also -- do you have another Linux machine available that you could test this on, to see whether the problem is independent to your computer?
 
0 Kudos
Message 4 of 11
(4,149 Views)
Where do I find these examples for linux?  Searching the NI Example Finder with the keyword "DAQmx" returns nothing. 
0 Kudos
Message 5 of 11
(4,141 Views)

Hello,

The DAQmx Base LabVIEW examples are found at /usr/local/natinst/nidaqmxbase/examples/ on Linux.

Let me know if you are still having problems finding them.

0 Kudos
Message 6 of 11
(4,127 Views)
The examples do not work.  Running "./acquire1Scan" returns the message "DAQmxBase Error: <err>Device identifier is invalid.", and running "./acquireNScans" returns "DAQmxBase Error: -200220".  Is it important that the card is labeled "Dev2" instead of "Dev1"?  Running "nilsdev" shows that there are two cards, the PCI-6220 labeled as "Dev2",  and another one listed as  "Dev1" [Not Present.]

0 Kudos
Message 7 of 11
(4,123 Views)

Hello,

The problem is indeed due to the fact that the PCI-6220 is registered as Dev2 on your computer.  You will need to change the device identifier in the program from Dev1 to Dev2.  Right now the example program is trying to run on Dev1, which is an invalid device identifier.

0 Kudos
Message 8 of 11
(4,111 Views)
I eliminated the absent device and renamed the PCI-6220 as "Dev1", so now the "nilsdev" command returns the following:
[zieve@he3 ~]$ nilsdev
NI PCI-6220: "Dev1"

However, the examples still don't work, and return the same error messages as before. 
0 Kudos
Message 9 of 11
(4,096 Views)
Nevermind, I have resolved the issue.  It seems that there was some conflicts between the DAQmx and the DAQmx Base drivers. 
0 Kudos
Message 10 of 11
(4,093 Views)