Owning Palette: Synchronization VIs and Functions
Requires: Base Package. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the Notifier Operations functions to suspend the execution of a block diagram until you receive data from another section of the block diagram or from another VI running in the same application instance.
You cannot use notifiers to communicate with VIs on other computers. For example, you cannot use notifiers to communicate across a network or the VI Server.
Unlike the Queue Operations functions, the Notifier Operations functions do not buffer sent messages. If no nodes are waiting on a message when it is sent, the data is lost if another message is sent. Notifiers behave like single-element, bounded, lossy queues.
When using a Notifier Operation function in a While Loop, the stop condition should be connected to the execution of the function.
|Cancel Notification||Erases any message currently in a notifier and returns the cancelled message.|
|Get Notifier Status||Returns information about the current state of a notifier, such as the last uncancelled notification sent to the notifier.|
|Obtain Notifier||Returns a reference to a notifier.|
|Release Notifier||Releases a reference to a notifier.|
|Send Notification||Sends a message to all functions waiting on a notifier.|
|Wait on Notification||Waits until a notifier receives a message.|
|Wait on Notification from Multiple||Waits until at least one of the notifiers you specify receives a message.|
|Advanced Notifier Waiting Functions||Use the Advanced Notifier Waiting functions to prevent dropped messages and other problems when you use the functions repeatedly with different notifiers.|
Refer to the labview\examples\general\notifier.llb for examples of using the Notifier Operations Functions.