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 Object | Description |
---|---|
Get Class Hierarchy from Class Name | Returns an array of class names, in descending order of inheritance, from the top-level class name to the class name you specify. For example, if you specify WhileLoop in Class Name this VI returns the array [Generic, Gobject, Node, Structure, Loop, WhileLoop]. This VI works for any valid class name, regardless of whether you have scripting or private functionality turned on or off. |
Get GObject Label | Returns 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 VI | Creates and returns a reference to a new VI. |
New VI Object | Adds 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 Object | This 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\Application Control\VI Scripting\Creating Objects directory for a visual comparison of the three acceptable types of arguments for the location input. |
Open VI Object Reference | Opens a reference to the object whose label you specify with the name/order input. |
Traverse for GObjects | Searches 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. |