LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

is it possible to use a file refnum as an input of mathscript node

Solved!
Go to solution

Hi everybody,

 

I just began to use LV and mathscript recently. One problem confused me a lot.  That is,

Is it possible to use a file refnum as the input or output of mathscript node? A picture is attached for your reference.

Thanks a lot!

 

Gary

0 Kudos
Message 1 of 3
(2,376 Views)
Solution
Accepted by topic author garyleo

What would you hope to do with the reference?  The Mathscript node doesn't have a file reading capability.  You need to read the file and pass the data into the Mathscript node.

 

EDIT: I stand corrected.  You need to use the fopen and fclose functions inside of the MathScript node to be able to read a file inside of it.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 3
(2,354 Views)

Hi Crossrulz, got it, So it means no corresponding data type of file refnum in mathsript, or to be converted.

Thanks for your support!

 

0 Kudos
Message 3 of 3
(2,331 Views)