LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multi Monitor Problem

Hi!
i am trying to run a labview executable on a system with two monitors.
my executable has two screens the second being dynamically called by
the first. ideally i want one screen to appear on one monitor and the
second screen on the other monitor. what happens is whenever i run my
application it pops up in both monitors with half in each monitor. i
also have appian's hydravision software installed but it doesnot
remember the applications current position the next time i launch my
exe.
any ideas on how to proceed.
regards
avin
avin@infodatinc.com
0 Kudos
Message 1 of 5
(3,997 Views)
I have a Matrox graphic board with 2 screens. In the Matrox driver there is an option called "Prevent spanning". With this option checked, no windows is splitted across the screens. There is also an option to remember the position of the windows.

Try to find such an option in your graphic board driver.

I hope it will help you.
0 Kudos
Message 2 of 5
(3,993 Views)

Hi Avin,

I have a situation very similar to yours - I need to present 1 monitor with Tabular data and another with Graphical Data for different people to analyze I was wondering if you found any help either from NI or from elsewhere. Also could you please tell me what specific hardware (2 port VGA or DVI card ???) & software you used to split the contents between the different monitors ?

Any help you could provide will be very appreciated.

Thanks buddy, 

Maddy

 

 

0 Kudos
Message 3 of 5
(3,858 Views)


@avin yerramilli wrote:
Hi!
i am trying to run a labview executable on a system with two monitors.
my executable has two screens the second being dynamically called by
the first. ideally i want one screen to appear on one monitor and the
second screen on the other monitor. what happens is whenever i run my
application it pops up in both monitors with half in each monitor. i
also have appian's hydravision software installed but it doesnot
remember the applications current position the next time i launch my
exe.
any ideas on how to proceed.
regards
avin
avin@infodatinc.com


It really depends on your application, monitor drivers and if you just have to run it on this system or if the application is going to be distributed. If it is only a single installation on your current computer, you should be able to play with the Advanced settings of your  monitor Control Panel to control how application windows are provided in the different monitors. My ATI Mobilty Radion 9200 driver does seem to automatically try to place windows so that they do not span monitors.

For applications that would need to be distributed to different machines with and without multi monitors and different possible dirvers I would recommend to program the screen placement of your windows specifically. There is an applciation property "Display.All Monitors" that will return an array of coordinates that describe the positions of all monotors currently connected. The first element in that array is the primary monitor. With these coordinates you can do some simple algebra, read the VI frontpanel size and origin and adjust accordingly and set the front panel origin to the new position. It is all pretty simple.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 4 of 5
(3,849 Views)

NI has a set of VIs that will handle the problem.  Un-zip the attachment and place it the C:\Program Files\National Instruments\LabVIEW 7.1\user.lib.  It will now show up in  the application palette "user Lib" --> "Winders Interactive VIs".

When one used multi monitors, it is really one big screen. One screen starts at (0,0) and the other at (1281,0) with resolution of 1280x960.  Use the cursor position VI to find the upper left corner.

Message 5 of 5
(3,802 Views)