1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 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 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Show areaDetector image with BOY IntensityGraph |
From: | Phil Atkin <[email protected]> |
To: | "Pearson, Matthew R." <[email protected]> |
Cc: | "[email protected] list" <[email protected]> |
Date: | Wed, 3 Feb 2016 15:36:09 +0000 |
Tomas, Matthew, Thanks for your replies, but I'm still stuck. CSS-BOY is displaying my camera control screens correctly, and my camera reacts accordingly. It's delivering images, because I can see them in the ImageJ display or through caget; I just can't see them on the Intensity Graph widget. Not with my own screen and not with Tomas', either. Tomas' screen does show a couple of the camera properties that are compatible with my camera - but the Intensity Graph widgets just show 'No data'. I've been through all the properties of my Intensity Graph widget and compared them against Tomas' example; they are simpler now (I removed the scripts and rules, which I think did come from an example; this at least prevents the repetitive error messages). I've been through the PV names and macros, and nothing seems amiss. The camera is displaying monochrome, 16-bit images. So Maximum/Minimum are set to 65535/0. RGB Mode is false. max_array_bytes is 16000000, which should be plenty for a 500x500x16bit image. How do I check the version of the widget I'm using? What version do you have? (I know; I'm clutching at straws). Cheers, Phil On 03/02/2016 15:15, Pearson, Matthew
R. wrote:
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 LabOn 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 --
Pixel Analytics is a limited company registered in England. Company number: 7747526; Registered office: 93A New Road, Haslingfield, Cambridge CB23 1LP |