|Download Help (Windows Only)|
Script highlighting uses colors and font attributes to distinguish between different parts of a script in a MathScript Node. These colors and attributes improve the readability of the script and help you debug a script that contains errors or returns unexpected data. MathScript Nodes feature two types of script highlighting:
|Note (Windows) Syntax highlighting is also available in the Script Editor of the LabVIEW MathScript Window.|
Complete the following steps to enable syntax or data type highlighting for a particular MathScript Node.
If you enable syntax or data type highlighting for a MathScript Node, LabVIEW discards any color and style settings you apply to scripts with the Text Settings pull-down menu on the toolbar. If you enter a script while data type highlighting is enabled, click outside the node to apply the colors and font attributes.
|Note LabVIEW does not apply data type highlighting if a node contains an error, represented by a red glyph in the gray region on the left side of the node.|
Complete the following steps to disable syntax or data type highlighting for a particular MathScript Node.
If you use the MathScript page to disable script highlighting for all MathScript Nodes, LabVIEW dims the Script Highlighting item in the shortcut menus of MathScript Nodes. If you disable script highlighting for a particular MathScript Node, you cannot use the MathScript page to enable script highlighting for that node.