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: Show areaDetector image with BOY IntensityGraph
From: "Pearson, Matthew R." <[email protected]>
To: Phil Atkin <[email protected]>
Cc: "[email protected] list" <[email protected]>
Date: Wed, 3 Feb 2016 15:15:34 +0000
Hi Phil,

For the IntensityGraph, I set these properties:

PV Name - the waveform PV name
Data Width 
Data Height
X Axis Max and Min
Y Axis Max and Min

For my generic screens I actually have embedded rules in the widget that set the sizes up. They read the required values from the areaDetector stdArray plugin, which produces the waveform. That way I only have to bother with the PV name. 

The error that you mention seems to indicate that you have an embedded script in the widget, copied from an example, which I suspect that you can remove?

In the running OPI you can also right click and select “Show Macros” which might help you figure out any PV name issues. Also, hover over the graph widget and see what the tooltip says.

Also make sure that the max_array_bytes property is set suitably large (in CSS Preferences -> CSS Core -> EPICS). 

Can you see any PVs at all in CSS? Try setting up a simple text monitor on one of the scalar PV values in the stdArrays plugin. If not, then check the other settings in CSS Preferences -> CSS Core -> EPICS.

Cheers,
Matt



Data Acquisition and Control Engineer
Spallation Neutron Source
Oak Ridge National Lab


> On Feb 3, 2016, at 6:36 AM, Phil Atkin <[email protected]> wrote:
> 
> Can anyone get me started with this?  I'm inexperienced with everything: EPICS, areaDetector, CSS, BOY, Java ... you name it.
> 
> My IOC is working and I can display images using the ImageJ plugin.  My "PCPrefix" in that case is "13SIM1:image1:"
> 
> I've followed this post: https://groups.google.com/forum/#!topic/css-boy/-gUYqgHHUag - but no luck.
> 
> Having placed my Intensity Graph widget, how should I set the PV Name property?  What else needs to be set?
> 
> What I'm seeing in the log is the following:
> 2016-01-27 18:36:32 ERROR: Error in ../../BOY Examples/scripts/SetIntensityGraphData.js on IntensityGraph.
> org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException: PV loc://dataSource has no value. (script#5)
> 
> Thanks,
> 
> Phil
> -- 
> <Logo small.png>Pixel Analytics is a limited company registered in England. Company number: 7747526; Registered office: 93A New Road, Haslingfield, Cambridge CB23 1LP



Replies:
Re: Show areaDetector image with BOY IntensityGraph Phil Atkin
References:
Show areaDetector image with BOY IntensityGraph Phil Atkin

Navigate by Date:
Prev: RE: [possible SPAM] Show areaDetector image with BOY IntensityGraph Mazanec Tomáš
Next: Re: Show areaDetector image with BOY IntensityGraph Phil Atkin
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: RE: [possible SPAM] Show areaDetector image with BOY IntensityGraph Mazanec Tomáš
Next: Re: Show areaDetector image with BOY IntensityGraph Phil Atkin
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 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·