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: 

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,338 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,273 Views)

It works well. Thanks a lot!

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