LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Rendezvous Size Is stuck at 2

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?

0 Kudos
Message 1 of 5
(2,824 Views)

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

Message Edited by TonP on 11-26-2008 07:34 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 5
(2,816 Views)

... or you could just branch the rendevous reference as shown here (simplified):

 

Message Edited by altenbach on 11-26-2008 11:58 AM
0 Kudos
Message 3 of 5
(2,804 Views)

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.

0 Kudos
Message 4 of 5
(2,795 Views)

If you set both 'Return Existing' values to True it wouldn't matter in which order the Get Rendezvous are triggered.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 5 of 5
(2,776 Views)