What is a notifier?

Updated Jul 3, 2018

Reported In

Software

  • LabVIEW

Other

20

Issue Details

What is a notifier?

Solution

Notifiers are a tool for communicating between two independent parts of a block diagram or between two VIs running on the same machine. Notifiers cannot communicate across networks or the VI Server. This communication is generally for the purpose of synchronizing two independent processes.
 

Figure 1: The VIs on the Notifier Palette (Programming»Synchronization»Notifier Operations)
 
Notifiers are similar to mailboxes for data: one process sends data to the mailbox and another process receives data from the mailbox. In this way they are similar to local or global variables. When using a variable, however, the process that is waiting for information must cycle continuously to check the value of the variable. One benefit of notifiers is that the process that receives information completely stops execution while waiting, and starts again only when new data becomes available. This cuts down on computer time wasted on endless polling. 

Additional Information

Look for example programs in the LabVIEW shipping examples. Open LabVIEW » Help » Find Examples  Search for notifier on the Search Tab.

WAS THIS ARTICLE HELPFUL?

Not Helpful