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: 

Clearing Previous Front Panel before displaying a new one.

Solved!
Go to solution

hi,

My problem is clearing the old front panel. What I have is a VI with a CONFIG button. When user presses the config button front panel # 2 appears. There is a NEXT button on from panel #2. When you press the NEXT button front panel #3 pops up. The problem is that front panel # 2 stays in the background behind the new front panel # 3. What do i have to do to cancel the prevoius front panel? 

0 Kudos
Message 1 of 7
(2,210 Views)

Hi Peter,

 

it's not quite clear what you want to achieve... Clearing front panels? Cancelling front panels?

 

Do you want to close the window of that VI? There are VI properties & methods to do so...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 7
(2,206 Views)

im attaching the VIs for a better idea. Help!

 

thanks

Download All
0 Kudos
Message 3 of 7
(2,190 Views)

sorry about the confusion, i want to cancel the previous front panel..

 

0 Kudos
Message 4 of 7
(2,187 Views)
Solution
Accepted by topic author Peter_SPaaw

This will cancel the pervious window.  Your booleans should be inside the event structure.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
Download All
Message 5 of 7
(2,180 Views)

Thanks, thats what i wanted to do. Got a qustion though, how do you get that 'reference' to the 2nd VI? 

 

 

Regards,

Peter

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

nevermind my last question. got it.

 

 

thansk again!

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