LabVIEW MathScript Window

Requires: MathScript RT Module

Note  LabVIEW MathScript is no longer recommended for new designs. Visit ni.com/migratemathscript for more information and recommended alternatives.

Select Tools»MathScript Window to display this window.

Use this window to edit and execute mathematical commands, create mathematical scripts, and view numerical and graphical representations of variables. This window generates output from and maintains a history of commands that you call, lists variables that you define, and displays variables that you select. The LabVIEW MathScript Window is able to process files you create using the current LabVIEW MathScript syntax and, for backwards compatibility, files you created using legacy MathScript syntaxes. The LabVIEW MathScript Window also can process certain of your files that use other text-based syntaxes, such as files you created using the MATLAB® software. Because the MathScript RT Module engine is used to process scripts in the LabVIEW MathScript Window, and because the MathScript RT Module engine does not support all syntaxes, not all existing text-based scripts are supported. Scripts you run in the LabVIEW MathScript Window can generate errors.

You can save scripts you create in the LabVIEW MathScript Window or load scripts from a file into the LabVIEW MathScript Window. You also can save and load data files.

You can display several types of help content for the LabVIEW MathScript Window by calling different help commands.

Use the application instance name that appears in the bottom left corner of the LabVIEW MathScript Window to identify which application instance the LabVIEW MathScript Window belongs to. The application instance name includes the project name followed by the target name, such as Project 1.lvproj/My Computer.

Note  The MathScript Node and the LabVIEW MathScript Window can communicate only if they are in the same application instance.

You can resize individual sections of the LabVIEW MathScript Window, such as the Command Window and the Output Window. To resize a section, move the splitter bar located between the two sections you want to resize.

Use the LabVIEW MathScript Properties dialog box to configure settings for the LabVIEW MathScript Window.

This window includes the following components: