Alireza Posted November 19, 2006 Report Share Posted November 19, 2006 Hi I have two MONITORS connected to one PC via two graphic card . one of them is primery and another is slave monitor . my desktop is on primery monitor . i want to show images on second monitor programatically while my program GUI is on first monitor . HOW CAN I DO THIS ??? Thanks alot . Quote Link to comment
Mellroth Posted November 19, 2006 Report Share Posted November 19, 2006 i want to show images on second monitor programatically while my program GUI is on first monitor By using a property node on the application reference, you can find out the pixel boundaries for both your monitors. The primary monitor is found in "Display->Primary Workspace", and to get the bounds for the other monitors (including primary) use "Display->All Monitors" Then open a VI reference to the VI that you want to re-position, and set the bounds for your VI using the properties found in the "FrontPanelWindow" subpalette. I don't remember if it is PanelBounds or WindowBounds, and I don't have access to LV at the moment to check, you will just have to try. Notice that you will have to set all properties (left, right, top, bottom) in order to move the window, otherwise you will just resize the panel. /J Quote Link to comment
jaegen Posted November 20, 2006 Report Share Posted November 20, 2006 LV 8.2 actually has a "FrontPanel.Monitor" property for VIs which should make this even easier. Jaegen Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.