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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: [EXTERNAL] Question about image widget in Phoebus |
From: | "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Florian Feldbauer <florian at ep1.ruhr-uni-bochum.de> |
Date: | Thu, 29 Apr 2021 13:16:25 +0000 |
Hi:
Check the example displays.
"Image Widget" demonstrates the Cursor Info PVs.
Having said that, the basic idea is that the display simply displays PVs.
It doesn't "do" anything, it won't compute a histogram.
The cursor info PVs can used to send the location of a "click" inside the image to PVs on an IOC, and that IOC then computes something related to that location.
If you want to compute a histogram for the horizontal or vertical line through the cursor, I think the area detector has the basic functionality. So image display -> cursor PVs -> maybe some calc records to transform location -> area detector histogram plugin
-> waveform for XYPlot.
Other ways we use the cursor PVs on beamlines:
One IOC reads the cursor location and updates a string PV with detector pixel information (which detector module, which 'tube', ...).
Another more elaborate 'python IOC' turns the click on an image into motor commands to move the clicked location of the sample into the beam.
But again the display doesn't "do" anything here beyond just writing the X/Y location of the click to PVs.
-Kay
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, April 29, 2021 7:14 AM To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: [EXTERNAL] Question about image widget in Phoebus Hey all,
we are operating pixel sensors and as a kind of QA / status monitor we would like to display the hit distribution of the pixel sensor in phoebus. So in principal I need a 2D histogram. The Image widget in Phoebus looks like it could be usable for it, but so far I was not able to operate it. Is there some documentation on the different widget types and their properties? The image widget has a "PV name" propertie, but also Cursor info PV Cursor X PV Cursor Y PV What is the meaning of these PVs? What kind of PVs can be used? Many thanks for your help in advance, Florian -- Ruhr-Universität Bochum AG der Experimentalphysik I Dr. Florian Feldbauer NB 2/131 / Fach 125 Universitätsstr. 150 D-44801 Bochum Office: NB 2/134 Phone: (+49)234 / 32-23563 Fax: (+49)234 / 32-14170 https://paluma.ruhr-uni-bochum.de |