08-27-2010 12:26 PM
Hi,
I have recently been developing some code using LABview 8.5 and a USB 6251.
Everything was working fine. We had an outage in our lab so I needed to transfer the set up to my lap top. My lap top runs on LABview 2009 with the latest patch 9(3) installed. I also updated the DAQ mx drivers on my computer so LABview can find all the VI's just fine. Now nothing has changed in my code but when I run the program I get "error 89130 occured at DAQmx Write (Digital Wfm 1Chan NSamp). Device not available for routing." I went through the trouble shooting steps on the website, resetting the device and uninstalling/reinstalling it but I still get that error. Using MAX, I can see the device and it seems to be working just fine. Any hints on what to do?
It appears to me to have something to do with the different drivers rather than the labview version. I went back and tried my software in labview 8.5 with the updated DAQ drivers and I see the error. Any help would be greatly appreciated. I am stuck at the moment. Thanks!
08-30-2010 11:56 AM
Hello,
A few things we can try here. Just for the sake of article reference, here is the article about your error, which I assume you have already taken these steps.
When you do a self-test on your device, does it pass? Can you try outputting on your test panel for your device and see a different result, or the same error? Are you selecting the appropriate channels for the task?(Digital channels for digital output, analog channels for analog output, etc.) Have you tried a different USB port on your PC to see different results? A screenshot of your code where you declare your task, the channels in your task, and the data you are writing could be of use. What version of DAQmx are you using? Were you using Traditional DAQ before? Another good troubleshooting step would be to open NI Example Finder and run an example to see if you get the same results (for both analog and digital).