Commits multiple shared variables to the Shared Variable Engine simultaneously.


icon

Inputs/Outputs

  • c1dgenclassrntag.png shared variables

    shared variables specifies the array of shared variables you want to commit.

  • cerrcodeclst.png error in (no error)

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

  • i1dgenclassrntag.png shared variables out

    shared variables out returns the URLs to the shared variables you committed. The URLs are in the following format: \\computer\process\shared_variable.

  • ierrcodeclst.png error out

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

  • Commit Shared Variables Details

    Use this VI to simultaneously commit multiple buffered shared variables that you create or modify. First you must buffer the shared variables to hold them in memory temporarily. If you create a new shared variable, set the set mode input of the Create Shared Variable VI to buffer. If you modify an existing shared variable, set the Property Set Mode property of the SharedVariableIO class to buffer before making property changes. Wire an array of the shared variable references you created or modified to the shared variables input of the Commit Shared Variables VI. Committing multiple shared variable references simultaneously has better performance than updating shared variable properties one at a time.