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  2013  2014  2015  <20162017  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  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS Channe Access in "Processing" environment.
From: Pete Jemian <[email protected]>
To: <[email protected]>
Date: Thu, 15 Dec 2016 09:05:50 -0600
Wow!  Easy interface to construct a truly active GUI.

Here is an example from the processing site that should people an idea of what can be done. It's just a bunch of colored balls bouncing around.

  https://processing.org/examples/sinecosine.html

Imagine, for example, that this script might be refactored into a picture of an X-ray beam incident on a sample, including a rectangle where width and height are taken from EPICS PVs. Or a 2-D detector image is portrayed on screen and the user selects a region of interest to be saved or a point to be moved to the center of the image or a box to be raster scanned or a sequence of coordinates could be selected for additional scans...

It's another scriptable GUI.

Pete

On 12/15/2016 05:06 AM, Noboru Yamamoto wrote:
Hello, this is Noboru Yamamoto from J-PARC/KEK, JAPAN.

I just want report a small software experiment.

I tested possibility of using EPICS channel access in "Processing"
environment.
I found that it is possible to access EPICS data through channel access
protcol in "Processing".

First of all, you may not know what "Processing" is.
According to the web page, https://processing.org/,
"Processing" is
"a flexible software sketchbook and a language for learning how to code
within the context of the visual arts. Since 2001, Processing has
promoted software literacy within the visual arts and visual literacy
within technology. There are tens of thousands of students, artists,
designers, researchers, and hobbyists who use Processing for learning
and prototyping. "

Processing IDE is written in Java.  Processing supports few flavours of
languages, such as Java, Python and javascript.
When you use Java flavour Processing language, it is possible to use
your java library in
the processing sketch as plug-in.
I took jca/caj jar files and create some fiels/folders to use them as a
plugin in  Processing.

Then processing sketch can read( I didn't test write yet) data from
EPICS database through CA (an example processing sketch is attached).

It is just resut of a few days of  fiddling codes. If you have any
interest, please let me know.

Thank you for your attension.

KEK
Accelerator Lab.

Noboru Yamaoto


Navigate by Date:
Prev: Re: OPI Display (workbench) ?? Kasemir, Kay
Next: Re: MVME5500 and turbo-pmac-vme-ultralite Oleg A. Makarov
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Software Engineer Position Open At APS Arnold, Ned D.
Next: Re: EPICS Channe Access in "Processing" environment. Noboru Yamamoto
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Dec 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·