Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Notifier Operations Functions

LabVIEW 2012 Help

Edition Date: June 2012

Part Number: 371361J-01

»View Product Info

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.

Example

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.

Palette ObjectDescription
Cancel NotificationErases any message currently in a notifier and returns the cancelled message.
Get Notifier StatusReturns information about the current state of a notifier, such as the last uncancelled notification sent to the notifier.
Obtain NotifierReturns a reference to a notifier.
Release NotifierReleases a reference to a notifier.
Send NotificationSends a message to all functions waiting on a notifier.
Wait on NotificationWaits until a notifier receives a message.
Wait on Notification from MultipleWaits until at least one of the notifiers you specify receives a message.


SubpaletteDescription
Advanced Notifier Waiting FunctionsUse the Advanced Notifier Waiting functions to prevent dropped messages and other problems when you use the functions repeatedly with different notifiers.

Example

Refer to the labview\examples\general\notifier.llb for examples of using the Notifier Operations Functions.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit