LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Parent of VI Lib

I have a VI that processes other VIs.  I want an input that's an array of folders to ignore; and I want the default value for the array to contain an element the points to LabVIEW folders.  Something similar to this:

pa.png

But I don't really want <vilib>, I want the parent of <vilib>.  Logically, that should be: <vilib>:\..

But that doesn't work.  Is there some sequence of characters I can put in a path that represents the parent of a symbolic path?

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 1 of 4
(1,240 Views)

If your end goal is to get to the LabVIEW folder, can you use the App.Dir property?

 

appdir.png

0 Kudos
Message 2 of 4
(1,210 Views)

@Darren wrote:

If your end goal is to get to the LabVIEW folder, can you use the App.Dir property?

 

appdir.png


Not quite.  My end goal is to have an input that's an array of paths, with one of them defaulting to the LabVIEW folder.  Also, App.Dir isn't necessarily the LabVIEW folder.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 3 of 4
(1,184 Views)

@paul_cardinale wrote:


Not quite.  My end goal is to have an input that's an array of paths, with one of them defaulting to the LabVIEW folder.  Also, App.Dir isn't necessarily the LabVIEW folder.


So define your own symbolic path (say, <appdir>:\), and whenever you get that value, convert to an absolute path using the App.Dir property?

0 Kudos
Message 4 of 4
(1,179 Views)