What Is a Rendezvous?

Updated Aug 17, 2023

Reported In

Software

  • LabVIEW

Issue Details

What is a Rendezvous and how is it useful in LabVIEW?

Solution

A rendezvous ensures that several threads or VIs wait at a certain execution point before proceeding. Each task that reaches the rendezvous waits until the specified number of tasks are waiting, at that point all tasks proceed with execution. A rendezvous is useful for synchronization of two or more different sections of code. The effect is similar to that of creating one occurrence and using it to trigger several Wait on Occurrence nodes elsewhere in the same or other VIs. The Rendezvous Palette if found in the Functions Palette under Programming » Synchronization» Rendezvous.
Figure 1: VIs of the Rendezvous palette (Programming » Synchronization» Rendezvous)
 
The advantage of the rendezvous is that the user can define and programmatically change the number of code sections that are required to meet at the rendezvous before all the involved Wait at Rendezvous nodes return.

Additional Information

Look for example programs in the LabVIEW shipping examples. Open LabVIEW, go to Help » Find Examples » Search Tab and type in rendezvous as the search keyword.