Working with Scripts

NI Script Editor

Working with Scripts

Creating a New Script

Script files may contain multiple scripts. The Script Editor opens with an untitled script file with one script, myScript1. To add another script to the file, go to Instructions»Add Script and specify a name for the new script.

Opening an Existing Script File

To open an existing script, select File»Open, or click the Open button on the toolbar, and browse to the script you want to open. If you have an unsaved script that is open, the Script Editor prompts you to save the file.

Renaming a Script

The names of all the scripts within the script file are displayed at the upper-right corner of the Script window. To rename a particular script, highlight the name and right-click to select Rename Script.

Next topic: Adding Instructions

Back to Getting Started