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.
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.
11-15-2019 03:06 AM
Hello everyone,
I just putting the finishing touches on my measurement tool and noticed something weird. I have some Strict-Typedefs and when I change them I usually get the option to update it in the VIs the Typedef is used.
Normal scenario: The update window pops up and I can choose what to change.
BUT: when the VI I want to update is on the Second Monitor the window does not pop up. It catches the focus of Labview (I cant do anything else), but I cant modify it.
The first few times I quit LV via the Taskmanager until I recognized, that the window is somewhere and can be closed by pressing ESC.
Is there a setting for second monitor in LV or is this a bug?
Solved! Go to Solution.
11-15-2019 04:35 AM
Do you have a second monitor attached? Do they align neatly in the display setup or is there some space in between. Usually when you open a window in LabVIEW it will try to move windows such that they are at least barely visible on at least one monitor if they would otherwise be outside of any active monitor. Unfortunately that can fail if the monitor configuration changed after LabVIEW was started up.
Also “barely” can mean that its border is just very barely visible at one of the monitor borders! With normal VIs you can usually select the appropriate icon in the taskbar with the right mouse button and select Move and then use the cursor keys to move the window within the visible monitors. For dialogs that doesn’t usually work as Windows won’t have the Move command visible in the popup menu or at least not enabled.
11-15-2019 05:55 AM
If the window is visible in the taskbar, you can try to select it there, then press Alt+space, then M, then an arrow on the keyboard, then move the mouse. The procedure will make the window attach to the mouse pointer. That works for windows that has been placed so that they are outside of the screen.
11-15-2019 12:59 PM - edited 11-15-2019 01:07 PM
The feature you describe is called Review and Update from Type Def. Dialog Box
What version of LabVIEW are you using? I'm guessing 2016 or older.
I have seen this problem many times and it is caused by LabVIEW not handling the Windows monitor scaling settings. You probably have two different sized monitors with different scaling settings. LV cannot keep track of which window is on which monitor and at which scale!
Set both monitors to scale to 100% and I bet the problem goes away.
11-18-2019 04:22 AM
Its LV17, the two monitors are different. The PXI uses Win7.
What do you mean with scale to 100%?
The only option I found was in "Appearance and Personalization -> Display". There was the option to size the icons to 100%, but thats too small for my eyes. I would rather not change display settings to accommodate buggy UI behavior.
11-18-2019 04:41 AM
I found this post where the same issue is described.
Since I know the behavior now, I have to remember to edit my typedefs on the main screen
11-18-2019 08:57 AM
"Alt+space, then M, then an arrow on the keyboard, then move the mouse."
That's language dependant, but if you have english windows it's correct. Try it out if your locale is different (e.g. it's alt+space then F for Swedish windows)
/Y
11-19-2019 01:53 AM
I havent thought of moving the window with the keyboard. This works.
Now I have a solution if I forget to put the Vi on the mainsreen.
thanks
11-19-2019 09:26 AM - edited 11-19-2019 09:37 AM
I always use the Win-Key + left/right arrow keys when windows are "off screen". Happens more often that you think when moving laptops between office, home, and meeting rooms. And not just LabVIEW.
11-22-2019 05:31 AM
It should also work to r-click the taskbar and "Cascade windows".
/Y