Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Obtaining a Reference in a Facade VI

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Complete the following steps to obtain a reference to the VI that owns a specific XControl.

  1. Double-click the Facade ability in the XControl library to open and edit the Facade VI.
  2. Right-click the output of the Container State cluster on the block diagram and select Cluster, Class, & Variant Palette from the shortcut menu.
  3. Select the Unbundle by Name function from the palette and wire the function to the Container State cluster.
  4. Right-click the Unbundle by Name function and select Select Item»Refnum from the shortcut menu.
  5. 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.
  6. Wire the output of the Unbundle by Name function to the reference input of the Property Node.
  7. 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.
  8. Wire the reference out output of the Owner Property Node to the reference input of the Owning VI Property Node.
  9. Run the VI.

Refer to the KnowledgeBase for more information about obtaining a reference in a Facade VI.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit