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: Mark Rivers <rivers@cars.uchicago.edu>
To: "'Kasemir, Kay'" <kasemirk@ornl.gov>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 6 Dec 2017 00:16:27 +0000
Hi Kay,

Wow, that was really fast, thanks so much.  That will be really helpful.  I should have asked for this a long time ago :-)

I have already tested it, and am able to control the simDetector and its plugins using CSS and the screens I just autoconverted with that tool.

Mark


> -----Original Message-----
> From: Kasemir, Kay [mailto:kasemirk@ornl.gov]
> Sent: Tuesday, December 05, 2017 2:53 PM
> To: Mark Rivers; tech-talk@aps.anl.gov
> Subject: Re: Help needed on adl to opi standalone converter
> 
> 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

References:
Help needed on adl to opi standalone converter Mark Rivers
Re: Help needed on adl to opi standalone converter Kasemir, Kay

Navigate by Date:
Prev: RE: caget() from C++ Mark Rivers
Next: Re: EPICS 7 Release Candidate 1 Michael Davidsaver
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: Re: Help needed on adl to opi standalone converter Kasemir, Kay
Next: How to configure and build ca2aa for converting files from Channel Archiver to Archiver Appliance Wang, Lin
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, 06 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·