LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

variable update to trigger delay

Hi

 

I have a trigger delay vi in my analog voltage DA.  Everything works but the variable input to the trigger delay doesn't update when a user enters a new value.  Right now, when a user enters a new value, they have to set it as default, and restart the program.  This won't work at all if they are running the exe.  Is there anyway to have labview update the delay as it is running?

 

Thanks!

 

Peter

 

0 Kudos
Message 1 of 3
(962 Views)

Hi Peter,

 


@catinthehat wrote:

Everything works but the variable input to the trigger delay doesn't update when a user enters a new value.  … Is there anyway to have labview update the delay as it is running?


Sure: when you want to react on user input you most often need a loop around the part handling the user inputs!

Does your VI contain a loop to handle user actions?

Best regards,
GerdW


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

Hi

 

I've tried putting while loops around different parts (the trigger vi, the entire DAQmx sequence, just the user control) and they all result in no data being displayed on the graph.  Can the trigger.vi even be updated live? (how would i find out)

 

Thanks

 

Peter

0 Kudos
Message 3 of 3
(898 Views)