Scripting Instructions

NI Script Editor

Scripting Instructions

Scripts consist of six primary instructions: generate, repeat/end repeat, if/else/end if, wait, and clear. Additionally, all instructions in a script are surrounded by the keywords script <script name>/end script. Multiple scripts can exist on the device at one time—you can choose which script to execute by referencing the script name.

For examples of scripting applications, refer to Common Scripting Use Cases.