LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set AO channel to 0 value when VI stopped

when a VI stopped, the AO channel stopped on the level it's get, how to set these analog output to zero when stop a vi?

0 Kudos
Message 1 of 4
(2,427 Views)
Just do another DAQmx Write in your stop event or place it outside your while loop.
0 Kudos
Message 2 of 4
(2,423 Views)

Hi!

As a second option (and if your device supports it ) you could set the property "Idle Output Behavior"

 

see here:  http://digital.ni.com/public.nsf/allkb/dc9d2ab6dfb1924e86257260000cc350

and here: http://forums.ni.com/t5/LabWindows-CVI/Analog-output-behavior-after-the-task-has-stopped/td-p/655137

 

Regards,

Marco

0 Kudos
Message 3 of 4
(2,410 Views)

is there a list of which devices support AOIdleOutputBehavior ?  thanks.

0 Kudos
Message 4 of 4
(2,252 Views)