LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A question about LabVIEW and hardware initialization

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

0 Kudos
Message 1 of 3
(2,577 Views)

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?

Richard






0 Kudos
Message 2 of 3
(2,524 Views)

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

0 Kudos
Message 3 of 3
(2,520 Views)