Owning Palette: Synchronization Functions
Installed With: FPGA Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the Occurrences functions to control separate, synchronous activities. In particular, use these functions when you want one part of a block diagram to wait until another part of a block diagram finishes a task without forcing LabVIEW to poll.
![]() | Note This palette is specific to FPGA targets and includes the same VIs and functions that are on this palette when you edit a Windows or RT target VI. |
You can perform functionality similar to the occurrences functions using global variables, with one loop polling the global variable until its value changes. However, global variables consume more system resources and can introduce jitter because of the polling loop.
| Palette Object | Description |
|---|---|
| Generate Occurrence | Generates an occurrence that you can pass to the Wait on Occurrence and Set Occurrence functions. |
| Set Occurrence | Sets the specified occurrence. All nodes that are waiting for this occurrence stop waiting. |
| Wait on Occurrence with Timeout in Ticks | Waits for the Set Occurrence function to set or trigger the given occurrence. |
| Wait on Occurrence | Waits for the Set Occurrence function to set the given occurrence. |