If you already have a script written in the LabVIEW MathScript syntax, the MATLAB® language syntax, or the Xmath syntax, you can import it into LabVIEW. You also can save a script written in LabVIEW to a text file.
Complete the following steps to import a script into a script node in LabVIEW.
![]() |
Note You can create script nodes only in the LabVIEW Full and Professional Development Systems. If a VI contains a script node, you can run the VI in all LabVIEW packages. |
Complete the following steps to save a script to a text file.
MathScripts, scripts written in the MATLAB language syntax, and Xmath scripts are text files. Although text files usually have a .txt extension, MathScript, like the MATLAB software and other mathematics software, processes scripts with a .m extension, and the Xmath software uses a .ms extension.