Replace Method

Short Name: Replace

Requires: VI Scripting

Class: GObject Methods

To Use: Create a method.

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

Data typeNameRequiredDescription
StyleNoReplaces the current object with a built-in object.
PathNoReplaces the current object with a control or a subVI.
Palette StringNoSpecifies 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.

Data type
Available in Run-Time EngineNo
Available in Real-Time Operating SystemYes
Settable when the VI is runningNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes