04-24-2009 06:28 PM
If I create a workspace and put two projects into it, neither of which has the same name as the workspace, why then do I wind up with a .prj file for the workspace name and what's in it?
workspace.cws
project1.prj
project2.prj
but I also get
workspace.prj
?
Menchar
04-27-2009 10:59 AM
Hi Menchar,
Can you give us the exact sequence of steps that you used to create your workspace?
Thanks,
Luis
04-27-2009 03:06 PM
Luis -
Well, now I can't replicate the problem It did seem to me that the workspace wound up with a non-existent project of the same name as the workspace stuck in it.
But I wonder if it is possible to name a workspace file directly? I can't seem to do it.
Thanks.
Menchar
04-28-2009 12:17 PM
04-28-2009 02:16 PM
Hi Menchar (and Mark),
CVI doesn't give you a lot of control over naming workspaces. Essentially, there's no "Save As" option for workspaces. When workspaces were introduced in CVI 6.0, they were set up to be as unintrusive as possible, and to not require much thought from users. The most common situation is that users deal only with project names, and workspaces are automatically created and saved with the same name as the first project. The thought was that if someone really wanted to change the name of a workspace, they could simply navigate to the file and rename it (preferably when it's not loaded in CVI at the same time...).
Having said that, it is possible to explicitly name a workspace in CVI, at the time that you create it, before you save any projects:
1. File>>New>>Workspace
2. move the window, in other to mark the workspace as needing to be saved (yeah, I know, it's a bit hokey...)
3. File>>Save Workspace
You can then add as many projects as you like, and name them whatever you like, and it shouldn't change the workspace name.
Luis