LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vi front panel portion blacked out.

I copied my vi from laptop and opened it in desktop which has large size monitor, I see that vi front panel has a blacked out portion in the bottom. How do I correct it. The screenshot is attached.

0 Kudos
Message 1 of 10
(2,072 Views)

Hi msabah,

 

attaching an image of code instead of the code surely prevents us from editing&debugging that code.

 

That being said:

  • Using a JPG with lossy compression can hide details due to compression artifacts. What should we see in this screenshot?
  • The context help mentions a subpanel: is there a subpanel on your frontpanel?
  • Is the frontpanel backgorund color set to black, with a subpanel in the upper left part of the frontpanel!?
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 10
(2,043 Views)

What happens if you resize the front panel? Will the black go away? Is it just a glitch or is it like that always? Are you setting the size programmatically? Without code, we can only guess.

 

Try adding a splitter bar and see if it changes.

Certified LabVIEW Architect
0 Kudos
Message 3 of 10
(2,020 Views)

I have attached the VI, VI may be broken, but I only need the gray portion Subpanel to occupy the whole screen.

 

I have not made the front panel background as black.

0 Kudos
Message 4 of 10
(2,014 Views)

Hi msabah,

 


@msabah38 wrote:

I have attached the VI, VI may be broken, but I only need the gray portion Subpanel to occupy the whole screen.

I have not made the front panel background as black.


When you resize the window/frontpanel you also should resize the subpanel container when it should "occupy the whole screen"!

You may do this using context menu settings ("Fit to pane", "Resize with window") of the subpanel or programmatically using property nodes…

 

(I cannot open your VI due to its LabVIEW version. Mind to attach a downconverted version for LV2017?)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 10
(2,011 Views)

I am attaching the LV 2015 version copy of my VI for your reference.

0 Kudos
Message 6 of 10
(2,000 Views)

Hi msabah,

 


@msabah38 wrote:

I am attaching the LV 2015 version copy of my VI for your reference.


Now I can open the VI.

I see the default gray frontpanel background and a subpanel, which adapts to pane size.

I guess you already implemented my suggestions before saving that VI?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 10
(1,994 Views)

I have not changed the vi. try to open the vi in a 21 inch monitor. The black portion appears at the bottom.

0 Kudos
Message 8 of 10
(1,991 Views)

Hi msabah,

 


@msabah38 wrote:

I have not changed the vi. try to open the vi in a 21 inch monitor. The black portion appears at the bottom.


I don't have such a monitor available, I use a 15" laptop right now.

But I could scroll the window (after enabling scrollbars), change the subpanel size, move that error cluster without ever noticing any black background color…

 

Maybe it's a problem of your computer, like graphics card driver?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 10
(1,985 Views)

I cleaned up your VI so it could be run and it works here, on 3440x1440, LV2020 SP1. I do see that when the VI is resizing, the parts that are outside the FP first for a millisecond are black, before the resizing is done. 

 

So, as GerdW suggests, it is probably graphics driver related. Maybe you can try on another PC.

Certified LabVIEW Architect
0 Kudos
Message 10 of 10
(1,977 Views)