Obtaining a Reference in a Facade VI
- Updated2025-08-15
- 1 minute(s) read
Complete the following steps to obtain a reference to the VI that owns a specific XControl.
- Double-click the Facade ability in the XControl library to open and edit the Facade VI.
- Right-click the output of the Container State cluster on the block diagram and select Cluster, Class, & Variant Palette from the shortcut menu.
- Select the Unbundle by Name function from the palette and wire the function to the Container State cluster.
- Right-click the Unbundle by Name function and select Select Item»Refnum from the shortcut menu.
- Right-click the Refnum and select Create»Property for Control Class»Owner from the shortcut menu. Place the Property Node next to the Unbundle by Name function.
- Wire the output of the Unbundle by Name function to the reference input of the Property Node.
- Right-click the Refnum and select Create»Property for Control Class»Owning VI from the shortcut menu to create a second Property Node. Place the Property Node to the right of the Owner Property Node you created in step 5.
- Wire the reference out output of the Owner Property Node to the reference input of the Owning VI Property Node.
- Run the VI.