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  2016  2017  2018  2019  2020  <20212022  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Writing to Waveform from CALC
From: "Mooney, Tim M. 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, 10 Jun 2021 13:13:19 +0000
I think I would use an aSub record for this task.

Tim Mooney (mooney at anl.gov) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


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, June 10, 2021 5:00 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Writing to Waveform from CALC
 
Hey all,

I have a question regarding waveform records. So far I never really
worked with waveform or any other array-type record.

The Situation is:
- Our DAQ collects the data coming from our Pixel sensor.
- Every 10s an IOC reads the stored data and fills a waveform record
with the hits (index of array = pixel, value = number of hits in the run)
- I use an image widget in Phoebus to display the hit map of the pixel
sensor

Now, for testing the sensors after bonding, we can perform charge
injections to individual pixels. We can also mask individual pixels if
they are too noisy.

As we need to always send the information for all pixels to the sensor,
I thought about using a second waveform record holding the per pixel
configuration.
Using the cursor X/Y PVs from the image widget in phoebus I could select
a pixel I want to inject a charge for testing (or I want to mask b/c
it's noisy) and get calculate the index within the waveform record from
these two PV's using a CALC record.

So now my actual question: Let's say I want to mask pixel 42, is it
possible to just write to val[41] from my config waveform record from a
CALC(OUT) record without touching the other values of the array?

Cheers,
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


References:
Writing to Waveform from CALC Florian Feldbauer via Tech-talk

Navigate by Date:
Prev: Make compilation having weird behavior Marco A. Barra Montevechi Filho via Tech-talk
Next: RE: Problems configuring alarms with PvaPy KRL Baker - STFC UKRI via Tech-talk
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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Writing to Waveform from CALC Mark Rivers via Tech-talk
Next: Make compilation having weird behavior Marco A. Barra Montevechi Filho via Tech-talk
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  <20212022  2023  2024 
ANJ, 10 Jun 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·