Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Writing a Function or Script (MathScript RT Module)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

LabVIEW MathScript is a text-based language you can use to write functions and scripts. You can process scripts using LabVIEW MathScript in the LabVIEW MathScript Window or a MathScript Node.

You can use the MathScript Node to create scripts using the LabVIEW MathScript syntax, load scripts you wrote in the LabVIEW MathScript syntax or other text-based syntaxes, edit your scripts that you create or load, and process your MathScripts and other text-based scripts by invoking the MathScript RT Module engine. MathScript Nodes can process many of your text-based scripts created in a MATLAB or compatible environment. However, because the MathScript RT Module engine does not support all functions supported by the MATLAB software, some functions in your existing scripts might not be supported. You can implement such functions with a Formula Node or another script node.

The MathScript syntax is an intuitive and logical syntax predominantly based on standard mathematical and computer programming terms, terms in widespread and common use, and/or descriptive abbreviations, truncations and concatenations of standard terms. The LabVIEW MathScript Window and MathScript Nodes are able to process files you create using the current MathScript syntax and, for backwards compatibility, files you created using legacy MathScript syntaxes. The LabVIEW MathScript Window and MathScript Nodes 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 MathScript Nodes, and because the MathScript RT Module engine does not support all syntaxes, not all existing text-based scripts are supported.

(LabVIEW 64-bit) LabVIEW MathScript is not supported in LabVIEW (64-bit).


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit