Commit Shared Variables VI

LabVIEW 2013 Datalogging and Supervisory Control Module Help

Edition Date: June 2013

Part Number: 371618J-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Variables & I/O Servers VIs

Requires: DSC Module

Commits multiple shared variables to the Shared Variable Engine simultaneously.


shared variables specifies the array of shared variables you want to commit.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
shared variables out returns the URLs to the shared variables you committed. The URLs are in the following format: \\computer\process\shared_variable.
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.


Not Helpful