Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

NI USB-6008 and Linux Comedi compatibility

Solved!
Go to solution

Hello!

 

Could you advise if NI USB-6008 compatible with:

- Linux Comedi driver

- NI DaqMx Base 

 

If it is compatible, please give me the link(s) for the documentation on installation and programming.

 

Thanks in advance,

 

Vadim. 

0 Kudos
Message 1 of 6
(5,760 Views)

Hello,

Thank you for posting to the NI Forums!

 

I found a document online that lists the supported hardware for COMEDI. The USB-6008 does not appear to be a supported device. The 6008 is supported in the NI-DAQmx Base drvier version 3.2 for Mandriva,RedHat, and SUSE however. Hope this helps!

 

Regards,
Margaret Barrett
National Instruments
Applications Engineer
Digital Multimeters and LCR Meters
0 Kudos
Message 2 of 6
(5,737 Views)

Thanks for the info.

 

I downloaded nimx base for Linux.  

Unfortunately I can not install it on my OpenSuse 11.

When I run # ./install - the installer asks to  instal nivisa first.

When  I run # ./install in nivisa folder - te installer asks for NICVISA_.TZ file which is not included in the package.

 

Could anybody help with that please. 

 

0 Kudos
Message 3 of 6
(5,728 Views)
Solution
Accepted by topic author Vadim_I

Hi Vadim,

         Which version of DAQmx Base are you trying to install?  I would recommend installing NI-VISA first.  Please let me know if that doesn't work!

0 Kudos
Message 4 of 6
(5,702 Views)

Hello.

 

Thanks for guiding me through.

 

My success so far:

 

NI USB-6008 

Linux OpenSuse 10.3 KDE

nidaqmxbase-3.2.0 installed

NI-VISA-4.5.0 installed

 

no USB mount on fs: 

 

# mount
/dev/sda5 on / type ext3 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda6 on /home type ext3 (rw,acl,user_xattr)
securityfs on /sys/kernel/security type securityfs (rw)
/dev/sr0 on /media/NIVISA450L type iso9660 (ro,nosuid,nodev,noatime,uid=1000,utf8)

 

no USB in proc 

 

/proc/bus/usb # ls
/proc/bus/usb # dir
total 0 

 

NI Visa Interactive Control can communicate with USB-6008. viGetAttribute works fine. 

 

I compiled examples/ai/acquire1Scan and run it

 

Output - DAQMxBase Error: Device identifier is invalid. 

 

I changed the line in code: 

 

 // Channel parameters
 char        chan[] = "Dev1/ai0"; 

 

I changed Dev/ai to 0/0, 0/1,  1/0,  1/1 -  still  Device identifier is invalid.

 

Could you suggest what else can I do.

 

Regards,

 

Vadim. 

0 Kudos
Message 5 of 6
(5,683 Views)

Thanks a lot to everybody for assistance.

 

Finally I found the issue - it was old firmware on my USB-6008.

I used NI firmwareupdate utility and now it's Ok. 

 

Vadim. 

Message 6 of 6
(5,670 Views)