LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming USB 6210 using C in Linux is not working

Hi All,

 

          I am a new bee in this forum. So please dont mind, If i did not follow the proper structure in this post.

 

 

I am trying to using DAQ USB-6210  in linux. Please find my setup details below.

 

OS : Linux ( Using Cent OS 5. Its identical to RedHat enterprise edition 5).

 

Driver: NiDaqbasemx 3.3 ( Installation is sucessfull, Used ./INSTALL script available in it)

 

Device : USB-6210.

 

After installing the driver, I ran "lsdaq" command.

 

Sometime it detects my device as USB-6210. But sometimes I get the following output:

 

---------------------------------------------------------------

Detecting National instruments DAQ devices:

 

Found the Following  DAQ devices:

 

VISA Read in Flush_Visa_USB.vi->Check 621x Firmware Version.vi->Find Devices.vi->daqmxbase_listdevices.vi->daqmxbase_lisdevices_ProxyCaller--------------------------------

 

-----------------------------------------------------------------

 

Further If i run the example program (  acquire1Scan) the I get the following error.

 

Device Identifier is Invalid

 

 

I have traced where exactly the program fails and found that  DAQmxBaseCreateAIVoltageChan() function creates the error.

 

Please let me know how to make this device work with C. Thanks in advance for your help.

 

PS: Data Logger installed in Linux properly works. I mean, I am able to see the sampled output.

0 Kudos
Message 1 of 2
(3,182 Views)
Kindly avoid duplicate post. Well you can have a look at this, faq and drivers. Use DAQmx vis instead of base VI's and see if that helps.
Shreyas Hebbare
Shreyas Technologies
India
0 Kudos
Message 2 of 2
(3,090 Views)