Replaces the current object with a new object and returns a reference to the new object. Use only one of the following inputs to specify the new object: Style, Path, or Palette String.

Parameters

Name Data type Required Description
Style cu32.png No

Replaces the current object with a built-in object.

Path cpath.png No

Replaces the current object with a control or a subVI.

Palette String cstr.png No
Specifies the name of the object on the palettes.
Note The Palette String of an object on the palettes differs between the English version of LabVIEW and each localized version of LabVIEW. Also, the Palette String might change between different versions of LabVIEW.

Remarks

The following table lists the characteristics of this method.

Short Name Replace
Data type cgobrn.png
Available in Run-Time Engine No
Available in Real-Time Operating System No
Settable when the VI is running No
Loads the front panel into memory No
Need to authenticate before use No
Loads the block diagram into memory No
Remote access allowed Yes