Configures the initial value of a shared variable.


icon

Inputs/Outputs

  • cgenclassrntag.png variable reference in

    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.

  • ccclst.png initial value settings

    initial value settings specifies the initial value settings of the shared variable.

  • cbool.png enable? (F)

    enable? specifies whether you can set an initial value for a shared variable. The default is FALSE.

  • cenum.png data type (deprecated)

    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.

  • cfxdt.png initial value

    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.

  • cbool.png reset when disabled? (F)

    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.

  • cerrcodeclst.png error in (no error)

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

  • igenclassrntag.png variable reference out

    variable reference out returns the shared variable refnum that you wire to the variable reference in input.

  • ierrcodeclst.png error out

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