Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Event Structure Support VIs (DSC Module)

Owning Palette: DSC Module VIs and Functions

Use the Event Structure Support VIs to monitor shared variables and associated alarm and event occurrences using the Event Structure.

The VIs on this palette can return general LabVIEW error codes or specific DSC Module error codes.

Palette ObjectDescription
Cancel Alarm & Event NotificationsStops alarm and event notifications for the specified shared variables.
Cancel System Event NotificationsStops system event notifications for the specified server.
Cancel Value Change NotificationsStops value change events for the specified shared variables and closes the associated PSP connections.
Disable Alarm & Event NotificationsReleases an event reference created by the Enable Alarm & Event Notifications VI and cleans up all resources associated with the event. Any Event Structures registered for this event stop receiving alarm and event notifications.
Disable Value Change NotificationsReleases an event reference created by the Enable Value Change Notifications VI and cleans up all resources associated with the event. Any Event Structures registered for this event stop receiving value change notifications.
Enable Alarm & Event NotificationsReturns 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
Enable Value Change NotificationsReturns a reference to a user event that you can use to monitor changes in the values of shared variables. Wire the shared variable value change notification output to the Request Value Change Notifications VI to subscribe to a set of shared variables and start receiving notifications. Wire the shared variable value change notification output to the Register for Events function to register the event for use with an Event Structure. Wire the shared variable value change notification output to the Disable Value Change Notifications VI to stop receiving notifications and clean up all resources associated with this event.
Request Alarm & Event NotificationsSubscribes to alarm and event data for the specified shared variables and begins generating notification events. Call this VI multiple times to add to the list of shared variables you want to monitor for alarm and event changes.
Request System Event NotificationsSubscribes to status updates from the Shared Variable Engine running on the specified server and begins generating alarm and event notifications. Call this VI multiple times to subscribe to additional servers.
Request Value Change NotificationsSubscribes to the specified shared variables and begins generating notifications. Call this VI multiple times to add to the list of shared variables being monitored for value changes.


Resources


 

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