09-07-2010
10:55 AM
- last edited on
03-19-2024
09:34 AM
by
Content Cleaner
Cool LabVIEW 2010 Features Part V: Scripting
VI Scripting is a way to programmatically create, modify, and inspect the contents of a VI front panel, block diagram, or connector pane. Here's a highly summarized history of VI Scripting:
So now that VI Scripting is included in LabVIEW 2010, it is enabled via Tools > Options > VI Server:
Upon enabling scripting, you will gain access to the following items:
If you enable the sub-item in the screenshot above, you will start seeing helpful scripting information in the context help window for VIs and functions:
The connector pane pattern for subVIs is displayed next to the subVI title, and the terminal index of each node terminal is displayed next to the terminal name. Note that these terminal indices are shown for built-in functions as well.
The most common use of VI Scripting is to create tools that enhance the LabVIEW editing experience. The following tools/features make heavy use of VI Scripting: