Replacing Block Diagram Objects

You can replace a block diagram object with a different control or indicator without losing all the editing options you selected for the object up to that point.

Complete the following steps to replace a block diagram object.

  1. Right-click a block diagram object.
  2. Select Replace from the shortcut menu to display the Functions palette.
  3. Select a VI or function from the Functions palette to replace the object on the block diagram. If the number of terminals or data types in the objects are different, you might have broken wires.

You can use Replace to replace a constant with another constant or a structure with another similar structure.

Note  If you use Replace on a subVI and select a subVI whose name is the same as a VI that is already in memory, the replaced subVI refers to the VI already in memory, not the VI you selected. When this happens, a dialog box appears with the options to Replace or Cancel. If you select Replace, LabVIEW replaces each VI sharing that same name with the new VI.