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

VI Scripting VI and Functions

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Application Control VIs and Functions

Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

You can use the VI Scripting VI and functions to create, edit, and run VIs programmatically.

You must enable VI Scripting to use the VI Scripting VI and functions.

Palette ObjectDescription
Get GObject LabelReturns a string containing the label text of the object you specify and a reference to that label. This VI returns the same value as the Label.Text property.
New VICreates and returns a reference to a new VI.
New VI ObjectAdds a new VI object to the front panel or block diagram of the VI specified by owner refnum and returns a reference to the new object. VI objects include any controls, nodes, calls to subVIs, and user-defined controls that you can create in the LabVIEW editing environment.
New VI Object Offset From Referenced ObjectThis cluster provides a way to define the location input of the New VI Object function as an offset from another object. Refer to the New VI Object Location Argument example VI in the labview\examples\VIScripting\New VI Object - Location directory for a visual comparison of the three acceptable types of arguments for the location input.
Open VI Object ReferenceOpens a reference to the object whose label you specify with the name/order input.
Traverse for GObjectsSearches a target for objects of a particular type and returns an array of references to those objects. The target can be a front panel, a block diagram, or any object that can contain other objects, such as a For Loop, a cluster, or a user-defined control. This VI also recursively finds objects nested within other container objects.

 

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