Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: EDM Command Options Question
From: John Dobbins <jad@lepp.cornell.edu>
To: john sinclair <sinclair@mail.phy.ornl.gov>, EPICS Tech-Talk <tech-talk@aps.anl.gov>
Cc: "Ernest L. Williams Jr." <ernesto@ornl.gov>
Date: Fri, 05 May 2006 12:10:04 -0400
John,

Apologies. I spoke too soon. It turn out that if I sit at the console I get the correct focus behavior. This is with Scientific Linux 3 or 4. Exceed also works for remote access. For me the problem appears to be limited to using CYGWIN for remote access. Thanks.

John Dobbins

john sinclair wrote:
John,

edm -open should probably popup an existing screen - I'll add this to my list of things to consider.

If you launch edm as

edm -ctl orib36:screenpv

where screenpv is an epics string pv, then whenever a filename is written to that pv, edm will attempt to open the file. If it is already open, edm pops it to the top. Might this work for you?

John Sinclair

On Thursday 04 May 2006 2:55 pm, you wrote:
Dear All,

Note: I am new to both Alarm Handler and EDM.

I am trying to understand the command options for EDM. I would like to make
Alarm Handler open appropriate EDM screens. Alarm Handler provides for
adding a button which will issue a command to the shell. However if I make
that command something like

edm_startup.sh my_screen.edl

Then each time one of the buttons is pushed you get a new instance of EDM
with its own little square top level window.

However if the first instance of EDM is launched with the -server option:

edm -server -display $DISPLAY -x &

Then I can issue subsequent commands in the form:

edm -display $DISPLAY -open my_screen.edl &

which will either

1) open the screen if it is not already open, without starting a new
instance of EDM

2) do nothing if the screen is already open

The problem is that if the screen is already open it is not raised to the
front in which case the Alarm Handler button appears to do nothing instead
of directing your attention to the intended screen.

Is there another way to go about this? Thanks.

John Dobbins
Lab for Elementary Particle Physics
Cornell University
Ithaca, NY



Replies:
Re: EDM Command Options Question Devin Bougie

Navigate by Date:
Prev: php epics module Christophe Moins
Next: Re: php epics module Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: php epics module Andrew Johnson
Next: Re: EDM Command Options Question Devin Bougie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·