LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

Can a MathScript node accept a string as an input?

I presently have LabVIEW 8.0 whilst awaiting the arrival of LabVIEW 8.2. I wish to feed a string into a MathScript node (so that I can vary the binary file opened and closed  inside that MathScript node). LabVIEW does not offer me the choice of a string or an array of char for an input type. Is this a limitation of MathScript or is there a workaround? I am aware that I could open the file outside the node but for reasons of compatability with existing m_files from colleagues prefer not to do so. In answering please assume that you are addressing someone with a lot of experience with C and LabVIEW but with little (read nil) experience with Mat***.
 
Regards,
Worried_of_Bexley
0 Kudos
Message 1 of 2
(6,701 Views)

I was being too clever by half. I was adding the single quotes before feeding the string to the MathScript node.  When I fed the file path string into the MathScript input variable without any quotes it worked fine.

Regards,

Worried_of_Bexley

0 Kudos
Message 2 of 2
(6,697 Views)