04-02-2008 03:18 PM
04-02-2008 03:21 PM
04-02-2008 08:17 PM
04-03-2008 03:34 AM
04-07-2008 02:18 PM
Personally I think that the comedi drivers are an excellent choice provided that they have the functionality you desire. Please keep in mind that these drivers were able to be written because NI provided register level programming manuals and driver development kits for the hardware. Without this information from NI these drivers would have been much more difficult to develop.
@chicago_joe wrote:
1. it looks like i'm using the comedi drivers, because i guess unlike National Instruments, those dudes know how to write drivers that install and work, even on debian based installs.
In this case it sounds like the comedi drivers may not be the best choice because of your desired LabVIEW integration. So lets take a look at you NI-KAL problem. The first thing I noticed from the log you posted is that not only are you using a Linux distribution that NI does not officially support, but you are also using a distribution that has not been officially released. It is very unlikely that NI will ever provide support for a Linux distribution that the distributor considers unstable.
@chicago_joe wrote:
2. if anyone has a great solution to the problems i was having before, i think that my coworkers would be happier if their old labview things would still work in linux, so i'm still somewhat interested in hearing the wisdom on how to resolve these issues where everything seems fine but lsdaq won't find the boards, and updateNIDrivers won't work because nikal can't compile itself.
04-07-2008 03:11 PM
#!/bin/sh
exec /usr/bin/rpm.real --nodeps $*
Please keep in mind that I'm writing this off the top of my head; the commands may not all be exactly right (as I did this a little while ago), but I hope it's helpful anyways. Also, I was using a USB-6211 which is a slightly different model.
04-08-2008 10:13 AM
10-15-2008 11:02 AM
Kit: thank you so much for the clear install directions. I did get my USB-6211 to function under Ubuntu 8.10 / Linux 2.6.24-19, however the steps I required were slightly different, and so I include them here:
Below are the steps to install NI DAQmx Base under Ubuntu 8.10, as they worked for me. Your milage may vary.
1. Download the ISO file for the latest version of DAQmx Base. As of this writing, it is version 3.1 available at http://joule.ni.com/nidu/cds/view/p/id/967/lang/en.
2. Open a termnal and cd into the directory you downloaded the iso to.
3. Mount and extract the iso. (individual steps shown below)
a) mkdir ni_cd
b) mkdir ni_ex
c) sudo mount -o loop nidaqmxbase-3.1.0.iso ni_cd
d) cp -r ni_cd/* ni_ex/
e) sudo umount ni_cd
f) rmdir ni_cd
g) rm nidaqmxbase-3.1.0.iso #optional, to save space
h) cd ni_ex
4. Now you are in the directory with the extracted iso contents.
5. Run "apt-get install alien" to install the alien program, used to convert rpms to debs.
6. Run "alien --scripts -d *.rpm" to create the deb packages.
7. Install the debs by running "dpkg -i *.deb".
8. If you run "lsdaq" now you should get an error message about a missing "liblvrtdark.so.8.2". To fix this, you must install several of the rpms, as kit discovered, because of missing sim-links.:
a) In your ni_ex directory, run "rpm --nodeps -i *.rpm".
b) "cd nivisa/lvruntime"
c) "rpm --nodeps -i *.rpm" #this will install the symlink liblvrtdark.so.8.2 which is required for lsdaq.
d) NOTE: depending on your purposes, you may have to install some more of the rpms in the nivisa directory.
also note: if you experience errors (not just warnings) at this step you may need to take kit's suggestion of fiddling with /bin/sh and /usr/bin/rpm, from a previous post of his.
9. Now, reboot your machine for good measure.
10. Test your install by plugging in your USB-6211 (or similar) and running "lsdaq". It should acknowledge the device after a second or so.
11. Test your device by running NI's example programs:
a) cd /usr/local/natinst/nidaqmxbase/examples/ai #analog input examples directory
b) make #compile the examples
c) ./acquireNScans #after running this you should see 10 data samples taken from your device.
In light of the difficulties experienced in choosing rpms I wonder if NI could use a less distro-specific packaging system for their software.
Thank you NI for providing the specs and Linux drivers for your equipment, particularly the register-level specifications. Those two policies make NI products/services much more attractive for me.
Yours,
Chris
Stevens Institite of Technology
01-11-2011 08:47 AM - edited 01-11-2011 08:49 AM
Hi all,
I tried to isntall a NI USB 6009 on Kubuntu 10.10 with 2.6.35-24-generic kernel for some days now... without success so far.
Basically what I did is:
a)Followed your steps with NI DAQmx Base 2.10, but no success with step 10, lsdaq doesn't show any devices.
b)same with NI DAQmx Base 3.4.0, except step 8 isn't necessary any more.
I read about firmware issues with DAQmx and DAQmx base, so I installed the base firmware using windows.
lsdaq doesn't show the device, lsusb does.
Any Ideas?
01-12-2011 02:05 PM
Hi MTer,
I wanted to let you know that, although we don't appear to have any DAQmx Base drivers that are specifically tested with Kubuntu (as you can find by searching here), you may want to try posting this in the Linux Community as another resource to find some answers.
Hope this helps,
Andrew