09-07-2015 06:29 PM
I'm having trouble with executing a secondary while loop. I'm trying to shut off a portion of my block diagram for the entirety of the run based on the input from an external wire. I would really appreciate help on this, thanks.
09-07-2015 07:24 PM
You do not have parallel loops. Because the wire comes out of one loop and enters the other, the loops will execute sequentially. This is fundamental to the dataflow paradigm of LabVIEW.
It looks like you may be new to LabVIEW. If so, please start with the free on-line tutorials. They should cover some of these basic concepts
Lynn
09-07-2015 08:45 PM
Thanks for the correction. How can I, for the extent of the run shut off that particular section of the block diagram from the true or false input though.
09-07-2015 09:07 PM
09-07-2015 09:07 PM
I'm not seeing a reason for the second loop. Why can't you just put that logic in the main loop you already have, including the writing of the string indicator?
09-08-2015 11:20 AM
Unfortunately, when I put the while loop inside the main, the entire program stops functioning as it was intended, I have researched the functions of all the structures and none seem to shut off that portion of the block diagram for all the while loop iterations in the run.
09-08-2015 11:25 AM
09-08-2015 11:32 AM
How do I go about shutting that section off for the extent of the loop iterations when there is an input though.
09-08-2015 11:33 AM
I've tried that, but it dosnt perform the function I want it to.
09-08-2015 12:14 PM
@mkimball wrote:
I've tried that, but it dosnt perform the function I want it to.
Then show us what you have and tell us how it isn't doing what you want.