LabVIEW MathScript RT Module

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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 件の賞賛
メッセージ1/2
6,960件の閲覧回数

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 件の賞賛
メッセージ2/2
6,956件の閲覧回数