Get Shared Variable List 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

Returns a list of all the shared variables associated with a given process in the Shared Variable Engine on the host computer or remote targets.

Examples

process name specifies the name of the process whose variables this VI returns. This parameter must be a string of numbers and letters with or without spaces. Refer to the system tree in the NI Distributed System Manager to view a list of processes. You also can use the Get Process List VI to return a list of process names.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
process name out returns the process name you specified.
shared variables returns the shared variables associated with the process. You can wire shared variables to a property and/or method node to control the properties of an individual variable.
error out contains error information. This output provides standard error out functionality.

Examples

Refer to the following VIs for examples of using the Get Shared Variable List VI:

  • labview\examples\lvdsc\Shared Variable Management\Simple Shared Variable and Event Monitor\Simple Shared Variable and Event Monitor.lvproj
  • labview\examples\lvdsc\Data and Alarm Historical Logging\DSC Alarms Demo\DSC Alarms Demo.lvproj

WAS THIS ARTICLE HELPFUL?

Not Helpful