i have a ex1.vi which has 2 inputs
1).Signal(boolean)
2).Message(String)
has 1 output
Parsed message(String)
now this vi has a while loop where it detects the changes in input and should give the output. this ex1.vi itself is in a message loop in a main.vi that instantiates it. this main.vi produces the Sensor and message data and consumes Parsed message.
eg. the main.vi gives Signal = true
and message = "hello"
the ex1.vi will give parsed message = "hi"
. since the ex1.vi is in while loop how will i give the output? if i update a local variable and wire that to the output main.vi is still not able to consume because ex1.vi has not completed. how can i achieve this without the use of global variables?