LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Alternative of "Refnum to path" in LabVIEW NXG?

Solved!
Go to solution

Is there any alternative function of "Refnum to path" in LabVIEW NXG? I can't seem to find one. I just hope to do something like the original LabVIEW function of:

pji_1-1596656896938.png

Thanks!

0 Kudos
Message 1 of 3
(1,343 Views)
Solution
Accepted by topic author pji

Hi pji,

 

As far as I know, there's no way to do this using the functions from the palette. It is possible to roll your own version by creating a Shared Library Interface, and setting the path to LabVIEW. You can then call the function FRefNumToPath. When creating the SLI, make sure to check the UTF-8 option for paths containing Unicode. An example SLI and project is attached.

 

nxg_refnum_to_path.PNG

Message 2 of 3
(1,278 Views)

It works well. Thanks a lot!

0 Kudos
Message 3 of 3
(1,244 Views)