11-26-2008 11:29 AM
I am trying to debug a program with Rendezvous. In this simplified version, I am trying to change the number of Rendezvous and then correct the actual number of Rendezvous.
I understand that there is a problem if you do not destroy the Rendezvous when you start the creation. To correct for this problem, I terminate Labview completely and restart before I run the VI. In this example I create 3 Rendezvous at the beginning and resize back to 2. During the process I use the status portion to determine the size of the Rendezvous, it turns out to be 1 not 2.
I am running Labview 8.5.1 and included my example. Is there another way to clear the Rendezvous out?
11-26-2008 12:34 PM - edited 11-26-2008 12:34 PM
You should let the upper (or lower), 'Get Rendezvous' pick up an existing rendezvous.
Also you should make sure that you first create the rendezvous, and then connect to the rendezvous:
Ton
11-26-2008 01:58 PM - edited 11-26-2008 01:58 PM
... or you could just branch the rendevous reference as shown here (simplified):
11-26-2008 03:19 PM
This is an example to partially simulate my eventual requirements, where I will have multiple top level VI running. Each of them will be running independent of each other and the timing is not assured.
You did point out the race condition within this VI where this is an issue though. I will have to modify the real VI to fix this condition.
11-27-2008 02:14 AM
If you set both 'Return Existing' values to True it wouldn't matter in which order the Get Rendezvous are triggered.
Ton