LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to pass boolean value from one while loop to another while loop

Hi,

 

Maybe this is a very simple question for you guys, but I am just wondering how to pass boolean value ( and maybe other data type too ) from one while loop to another while loop.

See the attach file for simple example.

 

Best regards,

Alvin Chandra

 

0 Kudos
Message 1 of 4
(3,047 Views)

You can do this with help of Local Variables or with messaging techinques Queues,Notifiers..

---
Silver_Shaper | CLD
0 Kudos
Message 2 of 4
(3,045 Views)

You should use a local variable (right click the boolean control: create>variable) and read the help and attend a LabVIEW class.

 

 

Christian

0 Kudos
Message 3 of 4
(3,043 Views)

Hey Alvin,

 

I'm not sure how extensive your diagram will look but you should be able to do a simple state machine/diagram if you're trying to keep in sequential.  Just a thought.  

 

 

0 Kudos
Message 4 of 4
(3,036 Views)