Subscribes 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.


icon

Inputs/Outputs

  • cu16.png request changes (all changes)

    request changes specifies the types of value changes that this VI requests.

  • cusereventrn.png notification refnum

    notification refnum is a user event refnum created by the Enable Value Change Notifications VI.

  • c1dgenclassrntag.png shared variables

    shared variables is the list of shared variables for which you want value change notifications.

  • cu32.png updates to buffer (no buffer)

    updates to buffer (no buffer) specifies how many value changes LabVIEW buffers for the specified shared variables. If you do not provide a buffer, LabVIEW generates notifications only for the most recent value of the shared variable. Some intermediate values of shared variables that change rapidly might not generate notifications. Only request a buffer if this VI needs to monitor every value change of a shared variable because buffering can reduce performance. This buffer only controls the behavior of the client application. You must configure buffering on the server with the shared variable.

  • 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.

  • i1dgenclassrntag.png shared variables out

    shared variables out returns a copy of the shared variables input.

  • ierrcodeclst.png error out

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

  • 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 Request Value Change Notifications VI.