LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

usb 6009 don't works when a application is builded with labview 7.1

I've just bought a "USB6009". I was playing a little with it, and I found a problem. When I use it under labview 7.1 all works fine. I can read from the USB6009 and write on the outputs.

When I try to make a exe file all works fine (a little slow, but fine). But, when I try to execute it, it gives me an error "0xBFFF000E This given session or object reference is invalid". It seems that the problem comes from "DAQmxBase Read ". DAQmxBase Create Task -> DAQmxBase Create Virtual Channel -> DAQmxBase Start Task seems to work fine. when DAQmxBase Read happen this error.



The other question is that a lot of subvi's are loaded in a very small application, making a 5MB application for just reading one data. It sounds very strange for me, because I don't understant why 67xx drivers must be loaded when i'm just using 6009.


Any idea?
0 Kudos
Message 1 of 7
(3,842 Views)
Nobody has any idea?
0 Kudos
Message 2 of 7
(3,822 Views)
Dear Forum,

I have the same problem. The example provided with daqmxbase run nicely within LabView 7.1, but when I build an application it does not work anymore. Are the examples somewhere which work with daqmxbase and application builder?

regards, Dr. Sven Jakubith, Staxon fuel cell technology
0 Kudos
Message 3 of 7
(3,706 Views)
Does it not work on your development pc or does it not work on a new pc. If it's a new pc, did you install DAQmx on it? Installing the LabVIEW built application does not include any DAQ hardware drivers.
0 Kudos
Message 4 of 7
(3,700 Views)
Dear Dennis,

the application does not work on the development PC (no data is read in from the USB6008 device).
On the same PC, the Labview vi operates flawlessly.

Regards, Sven

Message Edited by jakubith on 03-20-2005 02:19 AM

0 Kudos
Message 5 of 7
(3,691 Views)
I have a similar problem with a USB-6008 although the error given was different. I solved the problem doing the following when building the executable. Try it. Maybe this could help you.

1-.Click Tools » Build Application or Shared Library (DLL)...
2-.Select the VI Settings tab
3-.Highlight the row for the USB-92xx Bulk Reader.vi
4-.Click Edit Build Settings...
5-.Change the Target Setting to no for Remove Panel and click Change
6-.Click Done
7-.Build the VI

Regards

crisR
Message 6 of 7
(3,630 Views)
Dear crisR,

works flawlessly now. Thank you. These kind of problem drives you mad.
The USB device goes offline quite frquently with the error message "Bulk Reader 92xx resetting", I changed the timeout value to 10ms and the trigger to "on demand", it works now better - but still I have the feeling of an unstable system.
Thnaks a lot again for your reply, Sven Jakubith, www.staxon.com
0 Kudos
Message 7 of 7
(3,572 Views)