LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to freeze analog output ?

Hi,

In my LabVIEW program, I need to freeze analog outputs (keep the last value) when appears for example an emergency stop.

In this program, sometimes  I use  "simples" values to write outputs and other times I use waveforms.

 

Is there an easy way to freeze outputs in both cases ?  (a better solution than modifying all the VIs using analog outputs  😉 )

 

Thaks for your help !

 

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

Hi cpit,

 

when you need an emergancy behaviour in your output VIs you have to program it...

 

An easy way would be: IF emergency condition is met THEN don't output values.

So a simple case structure will do the trick...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,047 Views)

In your emercency condition call Control Task.vi with Action = "Abort"


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 3
(2,042 Views)