Skip to content Skip to navigation

Connexions

You are here: Home » Content » Notifiers in LabVIEW

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

    • External bookmarks
  • E-mail the author

Recently Viewed

Notifiers in LabVIEW

Module by: Felix Annan

Summary: This gives an introductory discussion of Notifiers in inter-VI data transfer

Nofitiers principally allow a programmer to pause a program pending an instruction. This component can be used in loops that read data. After the instruction is received, the loop can then begin to do the work it was designed to do. Also a notifier can be used to pause a VI pending receipt of data. It is this ability to wait till data arrives that makes notifiers unique. The data that causes the notifier to stop waiting is called a notification. For all the previously mentioned methods it is only this type that is able to do without constant polling of a variable within a loop to check for new values.

The rate at which notifications are sent out and the rate at which notifications are received have to be synchronized. This should be done in order to prevent message loss since the notification transfer system has no buffer to store unread notifications like the queue system. A feedback system can be set up in order to prevent notification message loss. This scenario mostly occurs when a notifier is used for continuous data transfer.

Notifiers can be used in conjuction with other forms of data transfer like Queues to indicate when data has arrived to be read.

The Advantage

  1. No need to keep checking for changes or availability of information, the notifier will indicate when data has been received.

The Disadvantage:

  1. If send and receive rate of notifications are not synchronized some notifications can be missed
  2. No buffering of notifications

Generally notifiers are good for sending individual messages but not continuous data, though they can be configured to do so.

Implementation:

A typical setup for reading from and writing to a notifier is indicated in Figure 1.

Figure 1: The VI on the left sends out notifications and the VI on the right reads them
Notifiers
Notifiers (notifiers.jpg)

Comments, questions, feedback, criticisms?

Send feedback