Configure Initial Value 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

Configures the initial value of a shared variable.
Note  You can set an initial value of network-published shared variables only.

variable reference in specifies a reference number for a shared variable. Use the Create Shared Variable VI to create a refnum for a shared variable.
initial value settings specifies the initial value settings of the shared variable.
enable? specifies whether you can set an initial value for a shared variable. The default is FALSE.
data type specifies the data type of the shared variables that you want to configure. This VI automatically detects the data type of the shared variable.
initial value specifies the initial value you want to set to the shared variable. To specify an initial value, create a control of initial value settings, use the Bundle By Name function to update the initial value element of this control, and wire the output cluster to initial value settings.
reset when disabled? specifies whether to reset the value of initial value settings to the initial state when you disable initial value. If reset when disabled? is TRUE, LabVIEW resets the value. If reset when disabled? is FALSE, LabVIEW retains the value. The default is FALSE.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
variable reference out returns the shared variable refnum that you wire to the variable reference in input.
error out contains error information. This output provides standard error out functionality.


Not Helpful