Ni.com is currently experiencing issues that may cause some pages to fail.
Support teams are actively working on the resolution.
Ni.com is currently experiencing issues that may cause some pages to fail.
Support teams are actively working on the resolution.
06-02-2016 11:52 AM
I'm using NIVS 2015 SP1 that includes UI manager. When I create a project it also adds a UI manager entry under "User interface" to go along with the *.nivsscreen file. When I click to run the project, both UI manager and the workspace open. Is there any way to remove the .nivsscreen file so that running the project only opens UI manager?
Thanks,
06-06-2016 05:31 PM
Hi StephenB
I did some testing and did not find an option to either remove the workspace file from the project, or keep it from executing. I'll escalate this and post again as soon as I have an update 🙂
WenR
06-08-2016 08:35 AM
StephenB
Apparently, there is no native way to do this yet. I'll be filling a CAR about this, thanks for pointing it out! As a possible workaround, you could try to launch VeriStand silently, and then launch the UI manager separately. Please let us know if this helps!
WenR
06-09-2016 11:30 AM - edited 06-09-2016 11:30 AM
This was the result of a technical limitation we had. The reason you still need the Workspace is the following:
When you click to Run a project from the Getting Started Window, then the only window visible by default is the Workspace. You don't see the project. And when you close the Workspace, that is the signal to stop and close the hidden project and to return to the Getting Started Window. So in this scenario, if you don't have a workspace and only UI Manager, you'd end up with no windows visible for VeriStand at all, and no good way for VeriStand to know when to stop and close the project and return to the Getting Started Window, since UI Manager is a separate process.
I'm sure there's some sort of trick we could perform to get around all of this if we think outside the box. One alternative I considered was to have a small, unobtrusive or minimized Workspace-replacement window that would show up to make sure you don't end up with zero visible VeriStand windows. There are other options we could look into, but hopefully this helps you understand our predicament.
07-11-2016 08:54 AM
Hello,
One way shall be to only deploy the VeriStand project (fom project explorer) and then to run UI manager and connect it to the active project.
In that case the workspace won't be opened.
10-07-2019 11:25 AM
Hi,
I have a high-level question about this. If I use the VeriStand .Net API to launch everything, can I make this auto-launch of the Workspace go away? Thanks.
cc
10-08-2019 12:55 PM
I use the following to automate the deployment of a project from the VS APIs in Labview:
Execution VI->Project vi-> Open Project Ref
Execution VI->Project vi->Project Execution vis->Connect Project
Execution VI->Project vi-> Deploy Project
Execution VI->Project vi->Workspace Automation Vi->Open workspace window to open the workspace, or in your case don't.
Make sure to close your references when done.
Good Luck!