10-05-2006 07:31 AM
10-05-2006 08:07 AM
Yould use Current vi's path (file I/O >> Fiel constants palette) and pass the output to StripPath.vi: the output from this is the path to the directory the VI is in. This works both when running as a VI inside LV and when compiled in an executable.
An alternative solution can be to use an application property node (Application control palette) selecting Application as a class and Application:Directory path as the property: this solution returns the path to LabVIEW.exe when running inside LV environment and path of youe EXE when the application is compiled.
10-18-2006 05:16 AM