From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Opening Sever Front panels programatically

Is there any way to open a VI Servers front panel without having to go throught the engine via
show details => View Severs in use.

Phil|)
0 Kudos
Message 1 of 3
(2,302 Views)
______________________________



Here's one option:

In the VI Properties of the VI Server (right-click on the Icon>>VI Properties) go to the 'Window Appearance' category. Here, select 'Custom,' then go into 'Customize.' Check the following options as needed:

Show Front Panel When Called
Show Front Panel When Loaded

This will open up the FrontPanel.. the downside is that the FrontPanel will be opened everytime the VI is called/loaded.. you won't have control over it and you have to go to VI Properties everytime to change this behavior.

Hope this helps.

Khalid 🙂



______________________________
0 Kudos
Message 2 of 3
(2,302 Views)
Hi Philip,

Somewhere (could be in diagram of server) open a reference to the "Server" VI. Use a property node to set the "FPopen" property true to see the FP.

Set it false to hide it.

Keep the reference open as long as the Server is supposed to run.

Close all references when done.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 3
(2,302 Views)