Replace Method

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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.


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.


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
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsYes
Available with polymorphic VIsNo


Not Helpful