Returns a reference to a user event that you can use to monitor changes in the values of shared variables.


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 shared variable value change notification

    shared variable value change notification returns the strictly typed user event refnum.

  • ierrcodeclst.png error out

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

  • Enable Value Change Notifications Details

    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.

    Examples

    Refer to the Simple Shared Variable and Event Monitor.lvproj in the labview\examples\lvdsc\Shared Variable Management\Simple Shared Variable and Event Monitor directory for an example of using the Enable Value Change Notifications VI.