From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Close Specific Panel.UIR

Solved!
Go to solution

Hello,

 

I have a program where I have to open many panels. QuitUserInterface only allows to quit the last one open, and you have to reclick everytime until the one you want is closed.

Is there any way to close a specific panel ?

 

I tried both methods recommended in http://digital.ni.com/public.nsf/allkb/862567530005F09C862565B500698BE5 , same problem.

0 Kudos
Message 1 of 3
(3,173 Views)
Solution
Accepted by topic author Melpo

You can use the function DiscardPanel, an example is given here.

 

The link you gave explains how to close the complete application.

0 Kudos
Message 2 of 3
(3,158 Views)

Thank you, did not think of that, but it is quite obvious.

0 Kudos
Message 3 of 3
(3,153 Views)