05-04-2021 01:32 AM
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.
05-04-2021 01:59 AM
Hi msabah,
attaching an image of code instead of the code surely prevents us from editing&debugging that code.
That being said:
05-04-2021 03:21 AM
05-04-2021 03:39 AM
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.
05-04-2021 03:43 AM - edited 05-04-2021 03:45 AM
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?)
05-04-2021 04:33 AM
I am attaching the LV 2015 version copy of my VI for your reference.
05-04-2021 04:44 AM
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?
05-04-2021 04:49 AM
I have not changed the vi. try to open the vi in a 21 inch monitor. The black portion appears at the bottom.
05-04-2021 05:00 AM - edited 05-04-2021 05:01 AM
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?
05-04-2021 07:13 AM
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.