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?