LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the results outside of while loop

Solved!
Go to solution

Dear Friends,

 

I have a while loop vi, which is attached with this mail. I want to update the Boolean results to Boolean, while the while loop is running. Actually it is not happening?

Do  I need to use it as a global variable or any other simple methods to do it? Could you please guide me or, please edit the sample VI which is attached with this mail.

 

 

Thank you,

 

 

Best Regards,

Rathan

0 Kudos
Message 1 of 3
(2,532 Views)
Solution
Accepted by Pahee
The boolean outside the loop will only be update, as wired, when the loop is terminated, that is how the data-flow of LabVIEW works. The simplest method for updating the boolean outside the loop is to disconnect the wire, create a local variable (right click on the terminal, select "Create", "Local Variable"), move the local inside the loop and wire it to your "Equals" function. This isn't necessarily the best method, just the easiest for this example.
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



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

Thanks LV_Pro.It works

 

 

 

Regards,

Rtn

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