06-07-2011 02:03 PM
I recently installed NI-DAQmx Base 3.4 in Red Hat linux. Upon pluggin my NI USB-6008 into the computer, and running lsdaq I was informed of the need to update the firmware to be compatible with NI DAQmx Base. The documentation I've read on how to do this instructs the user to run FWUpdate.exe from a Windows directory. Can someone tell me how to update the firmware from Linux?
Thanks,
Don
06-07-2011 03:06 PM
Yeah, the instructions I found were rather Windows-centric too.
You should have a FWUpdate program in your DAQmx Base bin directory. I can't speak for Linux, but I have DAQmx Base installed on an OS X machine and I have a /Applications/National Instruments/NI-DAQmx Base/bin/FWUpdate.app.
The steps to follow once you have the application running should be the same on all platforms.
06-07-2011 03:12 PM
Well, knowing that the update utility is FWUpdate.app helps. But, I have no idea where the installer put things. I'm doing a "find . -name FWUpdate.app" from the base directory now...
Don
06-07-2011 03:16 PM
It wouldn't end with .app, that's an OS X extension. I would expect it to have no extension at all.
I believe that the default DAQmx Base install path on Linux is /usr/local/natinst/nidaqmxbase.
06-07-2011 03:33 PM
Thanks, bstreiff! That is indeed where the FWUpdate utility was.
However, the utility did not seem to work. When I run it, it lists the USB-6008 as a connected device in need of firmware updates, but when I press the Update Firmware button, it says that it is unable to find a device to update and suggests pressing the Refresh Devices button. Refreshing the devices list shows the device again and indicates that it is in need of a firmware update. Sigh.
Don
06-08-2011 09:49 AM
06-08-2011 10:02 AM
06-09-2011 04:10 PM
06-09-2011 05:48 PM - edited 06-09-2011 05:48 PM
Hi Don-
That utility uses NI VISA under the hood. I can see a couple of points where it might fail. Are you using LabVIEW on your Linux box or some other environment for programming?
If LabVIEW, please try this code snippet. Point the VISA session at the alias that you see in lsdaq (or in FWUpdate). Then make note of the Resource Name value and post it back here.
If you are using a C-based environment you can replicate the same code starting from one of the VISA shipping examples (try FindRsrc.c from the shipping examples) will have similar functionality.
I suspect that there is an communication issue between NI-VISA and your device, so I wouldn't be surprised if one (or both) of these methods failed spectacularly. But it might give more insight into why the communication is failing.
06-09-2011 05:58 PM