LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving VIs as Mathscript

Hi,

Is there a way to save the labview VIs as Mathscript? In general, I am interested to know if the information in the VI can be saved in some text based format which could be again used to generate the particular VI. If this could be done using MAthscript itself that would be great. Even otherwise I am interested to know any thoughts on this.


0 Kudos
Message 1 of 3
(2,666 Views)
I don't understand... are you referring to the data used or generated by the VI, or the actual code? If you're talking about the actual code, the answer is no. This is a frequently asked question. LabVIEW code is code. It's not C, it's not C++, it's not text-based. While there exists a conversion to C for the embedded version, it's extremely limited and not intended for general use.

If, on the other hand, you're talking about the data, you can save the data any way you want with the File I/O functions.
Message 2 of 3
(2,643 Views)
What smercurio said is absolutely correct. There is no way to save the LV code itself as MathScript text. There are, however, multiple ways to load LV data into MathScript and retrieve it. You can use the File IO functions in LV and corresponding functions in MathScript, or you can use this method of using the MathScript functions load and save in a MathScript Node. Hope this helps!
Jarrod S.
National Instruments
0 Kudos
Message 3 of 3
(2,634 Views)