04-26-2007 03:12 PM
04-26-2007 03:18 PM
I'm surprised that you can get data since the 2120 is just a connector block and doesn't do any A/D at all.![]()
If you do have a DAQ board in the PC (and what kind is that), then if you don't get the correct data when using a subVI, it would depend on how you are passing data to and from the main to the subVI and what you have wired up. Could you post the main and subVI so someone could take a look?
04-30-2007 08:29 AM
Hi Fredje,
Could you send your subVI and the also the VI where you use this subVI. So I can have a look.
Regards,
04-30-2007 09:21 AM
Hi,
I already solved the problem. The DAQ was reading continuously and I didn't stop it when my "while" loop ended. So when I called this VI again, the DAQ was apparently still running. So I couldn't use it. But by assigning "STOP" to the end condition of my while loop, I solved the problem.
Thanks for the replies
Fred