06-20-2023 06:31 PM
We install Labview in a classroom environment. When students log in and create a new project in Labview the project root defaults to the home directory of the first student who launched Labview. Is there a way to set the default path or configure it to point to the current user's home directory? Thank you
Solved! Go to Solution.
06-21-2023 12:29 AM
I don't really have experience with playing with that dialog or with using a system with multiple users, but looking at the source code (specifically <LabVIEW>\resource\dialog\NewProjectWizard\NewProjectDialog.vi), you can see the following:
It looks like if the INI key exists, then the dialog uses the first path there and if it doesn't, it uses the default data directory.
This gives you at least two viable options to try:
06-21-2023 10:41 AM
Thank you very much, I don't really know much about Labview so I went with your second recommendation and modified the Labview.ini file located in C:\Program Files\National Instruments\LabVIEW 2023. Included in this ini is the attribute NewProjectSpecPagePath which was set to the first user's home directory. By deleting NewProjectSpecPagePath Labview defaults to the default data directory. This resolves our issue, thank you again for your help.