The warning glyph indicates that LabVIEW operates with reduced error checking at edit time and slower run-time performance for the MathScript Node. The following conditions cause the warning glyph to appear. To remove the warning glyph from the MathScript Node and improve run-time performance, modify your script as follows to resolve the condition in your script:
Tip In a hierarchy of .m files, the lowest-level file that contains a warning glyph in the VI Hierarchy window is the one that causes the warning glyph to appear on the MathScript Node. |
The LabVIEW Run-Time Engine and applications you deploy to real-time targets do not support MathScript Nodes with warning glyphs. If a VI includes a MathScript Node with a warning glyph, you must remove the warning glyph from the MathScript Node before you build a stand-alone application or shared library. If you build an application containing a MathScript Node with a warning glyph that a .m file causes, LabVIEW does not include that .m file in the application, and LabVIEW returns an error when you try to run the application.
The LabVIEW Run-Time Engine also does not support certain built-in MathScript functions. To include a MathScript Node in a stand-alone application or shared library, you might need to modify scripts that contain these unsupported functions.
If a script in a MathScript Node calls a user-defined function, LabVIEW uses the default search path list to link the function call to the specified .m file. After you configure the default search path list and save the VI that contains the MathScript Node, you do not need to reconfigure the MathScript search path list when you open the VI on a different computer because LabVIEW looks for the .m file in the directory where the .m file was located when you last saved the VI. However, you must maintain the same relative path between the VI and the .m file.
Some LabVIEW modules and toolkits install additional MathScript RT Module functions. If you use these add-on MathScript RT Module functions in a MathScript Node, you might encounter unexpected behavior when transferring a VI that contains the MathScript Node between computers. If you move the VI to a computer that does not have the appropriate add-on installed, LabVIEW cannot find the add-on MathScript RT Module functions when you run the VI. LabVIEW therefore modifies the script in the MathScript Node slightly and returns an error. However, if you then save the VI and move it to a computer that does have the appropriate add-on installed, LabVIEW still returns an error when you run the VI. You must modify the script in the MathScript Node and save the VI again in order to resolve the errors.