Re: [foxboro] AM on third monitor at boot

Martijn,

If you check back in the archives from last week, I wrote a dissertation
on how I managed to get an Alarm Manager to boot up to the third monitor
on a Windows XP P92 equipped with a Matrox Quad card using pos_win, so
there is a way to get an AM to boot to a monitor other than the primary.
Technically, it does come up into the 1st monitor, but then pos_win
moves it.

Ali,

I think the problem you are having is with that "-1MENU" item in the
title bar.  As I recall, the pos_win command, like the show_win command
before it, does not like special characters like the "-".  I would just
try to match the "FoxView WP1001:WP1001" and skip the -1MENU part.  The
matching in pos_win does not have to be exact, as long as the match is
enough to make the title bar unique to any other window that is
currently running.  So, just use this in your pos_win statement:

pos_win "FoxView WP1001:WP1001" -size 1280x1024

and I think that should work.

Tim Lowell
Control Systems Engineer
Tesoro Petroleum Company
210-626-4929 (w)
210-253-0225 (c)
tlowell@xxxxxxxxxxx
-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of mdaatje
Sent: Wednesday, March 18, 2009 11:18 AM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] AM on third monitor at boot

As far as I know the Alarm Manager always comes up on the 1st head on a 
windows machine.
Work around is to make the monitor you want to have the AM on the 1st 
monitor. This can be done in the display properties of windows control 
panel.

Hopes this helps.

Regards,

Martijn
----- Original Message ----- 
From: Ainuddin Ali
To: foxboro@xxxxxxxxxxxxx
Sent: Wednesday, March 18, 2009 4:12 AM
Subject: Re: [foxboro] AM on third monitor at boot


Tim
the "-1MENU" is in the title bar. However....

*pos_win "FoxView WP1001:WP1001 -1MENU" -size 1280x1024*

did not work either.

i've tried pos_win with all other windows and all worked except for
Foxview.


any reason ? perhaps the mimic needs to be resize using Foxdraw - i dont
know if that's possible.

Btw, what i'm trying to achieve is to "merge" several mimic into 1
mimic.
and display it in a very large screen with native resolution of
1920x1080.

all our mimic currently was designed with 1024x768. so regardless of how
big
our new screen is it's useless if we still use 1024x768 as native
resolution.

On Sat, Mar 14, 2009 at 6:33 AM, Lowell, Timothy
<TLowell@xxxxxxxxxxx>wrote:

> Ali,
>
> The text-match argument needs to be in quotes.
>
> pos_win "FoxView WP1001:WP1001" -size 1280x1024
>
> would probably work.  In your example, I don't know what -1MENU is.
Is
> that supposed to be an argument to the pos_win command?  I don't see
> that as being one of the valid arguments.  Is it in the title bar?  If
> so, then you can put that within the quotes and it will recognize it.
>
> Tim Lowell
> Tesoro Corporation
>
> -----Original Message-----
> From: foxboro-bounce@xxxxxxxxxxxxx
[mailto:foxboro-bounce@xxxxxxxxxxxxx]
> On Behalf Of Johnson, Alex P (IPS)
> Sent: Friday, March 13, 2009 2:29 PM
> To: foxboro@xxxxxxxxxxxxx
> Subject: Re: [foxboro] AM on third monitor at boot
>
> To be honest, I've never used the command.
>
> I'm not at a system so I can't check.
>
> I do know that I have been told by others that it works.
>
> Regards,
>
> Alex Johnson
> Invensys Process Systems
> 10900 Equity Drive
> Houston, TX 77041
> 713 329 8472 (desk)
> 713 329 1600 (operator)
> 713 329 1944 (SSC Fax)
> 713 329 1700 (Central Fax)
> alex.johnson@xxxxxxxxxxxxxxxx
>
> -----Original Message-----
> From: foxboro-bounce@xxxxxxxxxxxxx
[mailto:foxboro-bounce@xxxxxxxxxxxxx]
> On Behalf Of Ainuddin Ali
> Sent: Friday, March 13, 2009 8:06 AM
> To: foxboro@xxxxxxxxxxxxx
> Subject: Re: [foxboro] AM on third monitor at boot
>
> Alex
> i tried pos_win to resize my existing 1024x768 Foxview with no
success.
>
> *pos_win FoxView WP1001:WP1001 -1MENU -size 1280x1024*
>
> anything amiss ??
>
> On Fri, Mar 13, 2009 at 7:22 AM, Johnson, Alex P (IPS) <
> alex.johnson@xxxxxxxxxxxxxxxx> wrote:
>
> > Tim,
> >
> > Re: I want the Alarm Manager associated with the primary FoxView to
> > automatically start at bootup and pop up on the third monitor, which
> is
> > positioned directly above the primary monitor.  Can it be done?  If
> so,
> > how?
> >
> > You might play with pos_win. It does what show_win and move_win did
> > under Solaris. That is it can move and resize windows.
> >
> > pos_win [-h[elp]] | [-file [filename]] | [title-match-text]
> [[hostname]
> > | [-size[WxH]] | [-position[XxY]]]
> >
> >        - with no args, list windows.
> >
> > As for a different approach, I think that AMs open on the same
screen
> as
> > the FV instance to which they are assigned. If that is correct, you
> > should be able to send the same command that the 'Process' button
uses
> > to the appropriate FV using pref.
> >
> > /usr/local/pref -<dmName> DMCMD "dmcmd rcntalms"
> >
> > In either case, you could run the command at reboot.
> >
> >
> > Regards,
> >
> > Alex Johnson
> > Invensys Process Systems
> > 10900 Equity Drive
> > Houston, TX 77041
> > 713 329 8472 (desk)
> > 713 329 1600 (operator)
> > 713 329 1944 (SSC Fax)
> > 713 329 1700 (Central Fax)
> > alex.johnson@xxxxxxxxxxxxxxxx
> >
> >

 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: