LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to keep the trigger to be true always once triggered

Hi

I am using an example Cont Acq&graph voltage-analog sw trigger.vi from the example code. I am having a problem with the trigger in this Vi.
In this ViI am using a condition above level in the vi, say above 5V
once the the level is reached it triggers and the data starts to show, and if the level falls below the specified level it stops to show the data.
 It is all fine. But I need to keep the data showing once it has been triggered, even if the level falls below 5 it should show the data once triggered.
I changed the false constant and made it true but then there is one more problem, as i stop the Vi and again run the Vi and if the level is low it still triggers.

How can I change the behaviour of this certain Vi, which will give me continuous data once there is a trigger.

I am attaching the example vi. It is LV 8.0

Regards,

Nitin


0 Kudos
Message 1 of 4
(2,367 Views)
could you pls put it in 7.1.1 tks
0 Kudos
Message 2 of 4
(2,349 Views)

Hi vivi,

I figured out what was going wrong. I was using a local variable outside the while loop to update something, so when it was coming to while loop it was giving the passing the false value to the trigger.

Thanks anyways

Regards

Nitin

0 Kudos
Message 3 of 4
(2,348 Views)
ok gl with ur vi
0 Kudos
Message 4 of 4
(2,345 Views)