VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove nivsscreen from project and just use UI manager

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,

Stephen B
0 Kudos
Message 1 of 7
(4,443 Views)

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

0 Kudos
Message 2 of 7
(4,389 Views)

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

0 Kudos
Message 3 of 7
(4,363 Views)

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.

Jarrod S.
National Instruments
Message 4 of 7
(4,351 Views)

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.

0 Kudos
Message 5 of 7
(4,158 Views)

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

0 Kudos
Message 6 of 7
(2,438 Views)

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!

 

0 Kudos
Message 7 of 7
(2,423 Views)