From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-13-2009 06:38 AM
Hi all,
I am working in a project which requires multiple monitors, each monitor displaying a different VI. Each of these VIs has a 'Help' button which will open up the compiled help file from the mentioned location in the hard drive. Now I would like to open this help in the specified monitor. Suppose if the user clicks 'Help' in the second monitor, I would wish this window to open in the second monitor. Any suggestion on how to accomplish this?
Thanks in advance,
Priyadarsini
Solved! Go to Solution.
08-14-2009 01:25 AM
Hi priyadarsini,
Can you explain your problem a little more. As far as i can see, its a property of windows. You can open multiple executables of same vi on different monitors, but if your help window opens on the first monitor and you want to manage it, software like Ultramon can help.
08-14-2009 04:40 AM
hi,
r u calling a vi as help file? if yes then you can use FP monitor property node to set monitor.
Best of luck
08-14-2009 05:37 AM
Thank you Shivam Awasthi and Gaurav. By help I mean the compiled help files with extensions *.hlp or *.chm. I use 'Online Help Control' VI under Dialog & User Interface palette to open the help file. But this will always open in the default/primary monitor. I would like to make this open in the specified monitor programmatically. I should be able to open this in whichever monitor the user tries to access from.
Now I have got the solution from the last message in this thread. I have used the 'Restore Window' and 'Move Window' VIs in the attachment to move the help application window to another monitor by specifying the bounds input.
Thanks again.
Priyadarsini
08-18-2009 06:07 AM - edited 08-18-2009 06:09 AM
Hi Priyadarsini,
Did your problem really got solved?
Why I m asking this is because all these days I thought that those LVWUtil32 VIs are meant only for the control of other windows (UIs) of our application. It is news to me that we can use them for controlling windows (like UIs or .chm Help files & alike...) across multiple monitors.
08-18-2009 07:04 AM
Hi Partha,
Initially I was also wondering if it is possible to control other application windows from LabVIEW. But this forum is great and I have found out some good stuff using which I was able to develop my own code. All the applications work similar. We just have to mention the window name.
Attached is the code.
Priyadarsini
08-18-2009 07:07 AM
Priyadarsini wrote:Attached is the code.
You forgot the attachement?
08-18-2009 07:09 AM
Oops. Sorry. Here is the attachment.
08-18-2009 07:15 AM
08-18-2009 08:48 AM
Here is the snapshot of the code which is quite simple.