Certification

cancel
Showing results for 
Search instead for 
Did you mean: 

"Application Directory" function vs. "Current VI's Path"

Several of the CLD Success Package examples call up files using the "Current VI's Path" function, then a "Strip Path," then a "Build Path."  It seems simpler to use the "Application Directory" function, then a "Build Path."  Is there a reason that people use "Current VI's Path" instead?

 

Thanks very much.

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
Message 1 of 2
(3,499 Views)

Here are my rules:

For external files (text files, config files, etc) use Application Directory

For dynamically called VIs use Current VI's Path

 

I use these rules so that the rules do not change when I build an executable.

 

As far as the exam is concerned, I doubt you would be marked for either solution.


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
(3,498 Views)