04-17-2009 01:27 AM
I am using LabVIEW6 and DAQ cards like PCI6713,PCI6534. When my program is running, I could set, for instance, one channel of analog output 1V. When I quit the program and development platform, the voltage will maintain. But When I restart the Labview platform, the voltage will reinitialize to 0V. This is something unwanted for my application.
Is it possible that I could maintain the hardware status the last time I run the program? Will higher version of Labview support this? I heard that Labwindows does not have this problem, when one restart the compiling platform. Do I have to switch to labwindows?
Thank you
04-22-2009 07:27 AM
When LabVIEW sets up those cards (when your program starts) it applies a reset. Some cards can be initialized without being reset by setting a flag on an initialization VI - such as some relay cards - but even those will reset when you run LabVIEW fresh from a reboot.
A higher version of LabVIEW will not help.
I highly doubt Labwindows will behave differently. The cards use NI-DAQ regardless of the steering mechanism (C, Labwindows, LabVIEW, VB).
If the computer is on, why not leave your program running 24-7?
04-22-2009 07:38 AM
Hey,
Brokan Arrow is right.
Independent of if you use LabVIEW or CVI or whatever, the behaviour is always the same.
If want a special state for the output value when you quite your application, then you have to programmatically write that value.
Christian