You can save scripts that you create in the Script Editor of the LabVIEW MathScript Window. Complete the following steps to save a script.
You can compile a script when you save it to decrease the run-time compilation time. In the LabVIEW MathScript Window, select File»Save & Compile Script.
You can load a saved script in the MathScript Node or paste scripts directly from the Script Editor into the MathScript Node and vice versa.
You also can load existing scripts into the LabVIEW MathScript Window. In the LabVIEW MathScript Window, select File»Load Script or click the Load button on the Script page to load the script you want.