Commit Shared Variables VI
- Updated2024-11-20
- 2 minute(s) read
Commits multiple shared variables to the Shared Variable Engine simultaneously.

Inputs/Outputs
shared variables
—
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
shared variables out
—
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.
shared variables
—
error in (no error)
—
shared variables out
—
error out
—