LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Shows up on wrong monitor in compiled app

I have an application that has a vi that is displayed on a second monitor.  I use the Windows Run Time Position setting  to put it there.  Works great in the LV environment.  After the app is compiled however, the vi shows up on the primary monitor.
 
As suggested elsewhere on this board, I tried using the attached vi to manually move the vi to the other monitor, with no effect. Help
 
TIA,
Bill F
0 Kudos
Message 1 of 2
(2,533 Views)

Howdy Bill,

I ran your VI in the development environment and as an executable. It behaved as it was intended to on my double panel PC. My suggestion would be to place an indicator on the array containing the bounds for all the displays (at output of App Property Node). This will let you see if the bounds for monitors 0, 1, 2… make sense and thus, you’ll know you have chosen the correct monitor. If you have chosen a monitor that doesn’t exist, the VI will default to your primary monitor.

Finally, if everything looks right and you still have this application popping up on the wrong screen; post the .exe so we can see if there is a difference.

Charlie M. CLD
0 Kudos
Message 2 of 2
(2,499 Views)