EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS and MEDM with eclipse
From: Pete Jemian <[email protected]>
To: <[email protected]>
Date: Thu, 22 Aug 2013 14:43:17 -0500

Garth:

On 8/22/2013 2:18 PM, Brown, Garth wrote:
I haven't found a way to make Eclipse pass command line flags to external tools or editors

In eclipse ...

menu Run --> External Tools --> External Tools Configurations ...

Opens a dialog where the biggest widget is for the command-line arguments. This is where you might add the "-x" option or something else. If you need them, you can access java Variables... from a button.

For example, (in Windows) to create a menu item that opens a command-line session starting with my project home directory

click on icon for "New Launch Configuration" and set these boxes
Name: Windows command shell
Main tab
Location: C:\Windows\System32\cmd.exe
Working Directory: ${project_loc}
Arguments:
Common tab:
Allocate console (necessary for input) (checkbox): checked

click button "Run" which runs the command _and_ adds it to the menu Run --> External Tools.


For MEDM, you might configure that dialog like this:
Name: MEDM
Main tab
Location: C:\Program Files\EPICS Windows Tools\medm.exe
Working Directory: ${project_loc}
Arguments: -displayFont scalable  -x  C:\tmp\medm\como.adl
Common tab:
Allocate console (necessary for input) (checkbox): not checked

Pete

--
----------------------------------------------------------
Pete R. Jemian, Ph.D.                <[email protected]>
Beam line Controls and Data Acquisition, Group Leader
Advanced Photon Source,   Argonne National Laboratory
Argonne, IL  60439                   630 - 252 - 3189
-----------------------------------------------------------
   Education is the one thing for which people
      are willing to pay yet not receive.
-----------------------------------------------------------



References:
EPICS and MEDM with eclipse Vikram Bhagat
Re: EPICS and MEDM with eclipse Pete Jemian
Re: EPICS and MEDM with eclipse Kasemir, Kay
RE: EPICS and MEDM with eclipse Brown, Garth

Navigate by Date:
Prev: RE: EPICS and MEDM with eclipse Brown, Garth
Next: Problems compiling Nexus library as DLL on Windows Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: EPICS and MEDM with eclipse Brown, Garth
Next: new version of caQtDM Mezger Anton Christian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·