Returns a reference to a user event that you can use to monitor alarms and events. Wire the alarm & event notification input to the Request Alarm & Event Notifications VI or the Request System Event Notifications VI to select alarm and event data sources to monitor. Wire the alarm & event notification input to the Register for Events function to register the event for use with an Event Structure. Wire the alarm & event notification input to the Disable Alarm & Event Notifications VI to stop receiving notifications and clean up all resources associated with this event.


icon

Inputs/Outputs

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iusereventrn.png alarm & event notification

    alarm & event notification returns the strictly typed user event refnum.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Examples

    Refer to the following VIs for examples of using the Enable Alarm & Event Notifications VI:

    • labview\examples\lvdsc\Shared Variable Management\Simple Shared Variable and Event Monitor\Simple Shared Variable and Event Monitor.lvproj
    • labview\examples\lvdsc\Data and Alarm Historical Logging\DSC Alarms Demo\DSC Alarms Demo.lvproj