Creating Control Reference SubVIs from Property Nodes

Complete the following steps to create a subVI that includes a control reference directly from a Property Node.

  1. Right-click the front panel object or its block diagram terminal for which you want a control reference subVI and select Create»Property Node from the shortcut menu to create a Property Node implicitly linked to the object.
  2. Use the Positioning tool to select the new Property Node and select Edit»Create SubVI. LabVIEW automatically creates a control reference to the control on the block diagram of the main VI, creates a subVI that contains a control refnum wired to a Property Node, and wires the control reference on the main VI to the control refnum input terminal of the new subVI.

    Note  Select several Property Nodes at once to create a subVI with multiple control refnums and Property Nodes.

  3. Double-click the subVI to open it. Modify the Property Node and other elements of the subVI as you do in any other VI.