03-04-2013 02:18 AM
In my application, i have to connect 2monitors with the CPU and have to activate both connected monitors(means both should show windows)
03-04-2013 02:22 AM
Are you talking about a standard PC? Have you a video controller that can control two monitors? Is this about making a computer at all use two monitors or something more LabVIEW specific about using two monitors?
Questions and very little information!
03-04-2013 02:27 AM
Its like two monitor connected with standard PC using video card. and by display setting manually we can select display connected . that same thing i want to do using labview. may be some windows dll can be used but i dont know exact.
03-04-2013 03:10 AM
You probably want to check out MSDN and there the MultiMonitor APIs such as SetDisplayConfig() for Windows 7 and ChangeDisplaySettingsEx() if it needs to run on earlier Windows versions too.
03-04-2013 04:09 AM
Hi Prashants,
what rolfk is suggesting is for windows display settings configuration. If you only need to control your LV application, you can simply use the VI server.
03-04-2013 04:30 AM
Bublina,
It depends. If he only wants to assign a VI to a particular monitor or enumerate the currently active monitors, the VI server properties and methods are indeed all that are needed.
I interpreted the request however as being able to enable and disable monitors at runtime of the application and that can only be done with the Windows API functions directly. To my knowledge there aren't even .Net methods to do that.
03-04-2013 11:40 AM
sure, it just seems a bit weird, to disable and enable a monitor. If you have multiple monitors, all you have to do is plug them in computer, setup and you are done. The only applications, that do these settings are usually some driver related apps. So I thought, he only needs to control the FP position and his english is crap.