Jump to content

How can i control second MONITOR programaticaly via one PC


Alireza

Recommended Posts

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

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.