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  2013  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: Help needed on adl to opi standalone converter
From: "Kasemir, Kay" <kasemirk@ornl.gov>
To: Mark Rivers <rivers@cars.uchicago.edu>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 5 Dec 2017 20:52:36 +0000
Hi:

> ..converter for that runs within the CSS/BOY GUI.  In order to do the conversion one must copy the .adl files into the CSS Workspace,
> ..I am hoping that someone who is proficient in Java could refactor that Java converter so that it can be run from the command line,
 
This has been implemented.
If you get the latest version of CSS, for example basic-epics* from https://ics-web.sns.ornl.gov/css/nightly, you can call that with command line options to convert *adl files.
Assume you have a directory `displays` with `*.adl` files:

  css  -nosplash -application org.csstudio.opibuilder.adl2boy.application displays/*.adl

This uses the Linux shell to expand the arguments.
On Windows you might have to list the files one by one:

  css  -nosplash -application org.csstudio.opibuilder.adl2boy.application displays/file1.adl displays/file2.adl

> ..perhaps the converter could also have the option of creating .bob files as well as .opi files.
The display builder reads *.opi files.
Everything there is for automated conversion is already built-in,
so there's no manual step necessary to convert *.opi into *.bob.
If tweaks are necessary, that's usually because the original display was tightly packed and some pixel-based differences now matter.
That has to be done by opening the *.opi in the display builder editor,
adjust the widgets, then save (which will write in the *.bob format).

Thanks,
Kay

Replies:
RE: Help needed on adl to opi standalone converter Mark Rivers
References:
Help needed on adl to opi standalone converter Mark Rivers

Navigate by Date:
Prev: RE: EPICS 7 Release Candidate 1 Mark Engbretson
Next: Re: caget() from C++ Church, Eric D
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Help needed on adl to opi standalone converter Mark Rivers
Next: RE: Help needed on adl to opi standalone converter Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 05 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·