01-31-2007 09:32 AM
01-31-2007 11:19 AM
The default directory is the directory returned by the Default Directory function, so you can only have one of those.
You can create your own VI which will basically be the equivalent of a global #const definition.
Just create a single path output on the VI and wire a constant into it. Give the VI a relevant name and that's it. Changing the path is simply a matter of changing the constant. If you don't want to recompile the VI when changing you can save the path in a configuration file.
If you want more than one path, you can create as many VIs like this as you want (they can probably all even use the same config file) or use an array of paths in your VI and index out the path you want.