Ano Ano Posted December 23, 2011 Report Share Posted December 23, 2011 Hello, I have 10 while loops running in parallel and they are all connected with Rendezvous. 9 of the 10 loops operate fine but one of them does not work always. This 10th loop is a "popup" vi that when it gets a "True" value it runs. I also used probes and it seems that the while loop in question is getting all the rendezvous commands but when pressing the switch for the popup vi, the probe on that switch does not execute. For simplicity I am attaching a photo of a 2 loop Rendezvous, one with the popup vi. What am I doing wrong? Thank you in advance. Quote Link to comment
Ton Plomp Posted December 23, 2011 Report Share Posted December 23, 2011 could it be that the 'Exit Indicator' is True so that the while loop only runs once? Ton Quote Link to comment
asbo Posted December 23, 2011 Report Share Posted December 23, 2011 You're going to have to be more clear about what "doesn't work" means. Do you mean that the popup loop exits prematurely, so you never have an opportunity to press the popup button? If you're just waiting for a button press and a boolean state change, an event case might be a better fit. Note that even in this case, the popup can only be generated once. I added the Main Loop's stop button to the timeout case to allow the VI to complete properly. Quote Link to comment
crelf Posted December 23, 2011 Report Share Posted December 23, 2011 I can't seem to work out why you're using rendezvous at all in this example - you want both loops to start at about the same time, but, other then the dataflow forced by the rendezvous wire, you're not using rendezvous here at all... 1 Quote Link to comment
austinman Posted December 25, 2011 Report Share Posted December 25, 2011 Take a look at the rendezvous example that ships with LabVIEW. You will note that the Wait on Rendezvous is inside the While Loops. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.