Solution
LabVIEW VI Scripting is an API that helps you programmatically generate, edit, and inspect LabVIEW code. It contains several VI Server classes, properties, and methods so you can create, move, and wire objects; edit the connector pane; create new VIs on the fly; and more.
With VI Scripting, you can reduce the amount of time you spend on repetitive VI editing tasks, such as:
- Creating several similar VIs
- Aligning and distributing controls and indicators
- Displaying or hiding control and indicator labels
- Wiring block diagram objects
LabVIEW VI Scripting is installed by default on LabVIEW 2010 and later, enable VI Scripting via
Tools>
Options>
VI Server and place a checkmark in the
Show VI Scripting functions, properties and methods checkbox.
The LabVIEW Example Finder has some VIs that show the functionality described above inside the folders
Programmatically Controlling VIs> Editing and Inspecting VIs (VI Scripting).