LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

close reference on "read from text file" -- ref num vs referenec class conflict

Solved!
Go to solution

Dear users,

 

The Vi Analyzer asks me to close the refernce created by "read from text file" VI. So, I'd like close a refnum created by "read from text file" primitive VI. I used direct wiring, wiring through up and down casting, but all of them show up class conflict (see the screenshot below). Is it even possible to properly transform the refnum (byte stream type reference) to reference (generic VI reference) and remove the refnum?

 

close reference.png

 

Cheers,

0 Kudos
Message 1 of 2
(2,140 Views)
Solution
Accepted by topic author ghighuphu

You should use Close File.


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 2
(2,130 Views)