From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Refnum to Path not working, error says they are of the same type though

Solved!
Go to solution

I have a refnum that I am trying to convert into a path to use in another VI. When I try the conversion it gives an error "Wired refnums are of different types" But both the source and the sink are .NET refnums? Why would this cause an error when the program itself says they are the same? Are they not actually the same?

0 Kudos
Message 1 of 3
(882 Views)

Please attach your VI (the real thing, the .vi file, not a "picture" of it).  We cannot tell what you are doing or trying to do, so giving advice that addresses your problem is, at best, a guess ...

 

Bob Schor

0 Kudos
Message 2 of 3
(840 Views)
Solution
Accepted by LearningLabVIEW

The Refnum To Path function only works on file references ("byte stream file reference"), such as from Open/Create/Replace 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 3 of 3
(829 Views)