09-24-2011 03:05 AM
Hi. I have aVI that reads a Data file from a location on my Root diretory (C Drive). My problem is that the VI has a Path set to C:\ xxxxxx and if my root directory changes to D:\ for example i don't want to have to go into all VIs to change the Path. Is there a way, in Labview, of determining the PCs root directory in which i can add into my Path so as if the root directory changes it will still find the data file
09-24-2011 03:45 AM
09-24-2011 03:57 AM
Thanks for the reply GerdW.
I am currently using the "current VI s path function with the data file location stored in an .ini file in the same location as the VI.
My boss is not happy with me using this method (not sure why) so was wondering if there is another way of doing this.
09-24-2011 04:20 AM
09-24-2011 04:33 AM
Thanks again GerdW.
I think I need to convince my boss that the way i am doing it is ok.
09-26-2011 09:40 AM
...\vi.lib\utility\sysinfo.llb\Get File System Root Name.vi