Requires: VI Scripting

When you use VI Scripting to inspect, modify, or create front panel or block diagram objects, you must obtain a reference to the object with which you want to interact. You then can wire this reference to Property Nodes or Invoke Nodes to get or set information about the referenced object.

Refer to the following list to identify the best way to obtain a VI reference for your specific use case. The approaches in the list increase in difficulty.

Caveats and Recommendations

  • Close all references that you open. An excessive number of open references negatively impacts the performance of a VI. Read about closing VI and object references for more performance details.