EPICS Home

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  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: Calcout from other IOC
From: Érico Nogueira Rolim via Tech-talk <tech-talk at aps.anl.gov>
To: Gabriele Santambrogio <santambrogio at lens.unifi.it>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 21 Feb 2025 17:23:12 +0000
On 21/02/2025 13:36, Gabriele Santambrogio via Tech-talk wrote:
Hello,


Hi Gabriele!



 I need to use calcout with input from other IOCs. It seems to me that in the FLNK field of the records from the other IOC I have to add .PROC or perhaps CP (Not clear to me from various documents I found). I guess I can try all possible combinations. 

Is there any similar rule for the INPA, INPB etc in the calcout record? Can I just use NPP, for instance, of is there anything else I need to do?

If you wish to force processing from records in the "input" IOCs, you could have their FLNK fields set to "<your_calcout_record>.PROC CA", as documented in [1]. However, that leads to very undesirable coupling between IOCs (since they have to be aware of every IOC which depends on their PVs), so I'd say that the best course of action is using "<input_pv> CP" in your INPx fields, which mean the calcout record will be processed every time a monitor event from any of the input links arrives [2].


[1] https://docs.epics-controls.org/en/latest/process-database/EPICS_Process_Database_Concepts.html#channel-access-forward-links

[2] https://docs.epics-controls.org/en/latest/process-database/EPICS_Process_Database_Concepts.html#channel-access-input-links


Cheers,

Érico



 Best wishes

 Gabriele

--
 Dr. Gabriele Santambrogio
 European Laboratory for Nonlinear Spectroscopy, LENS
 Via Nello Carrara 1, 50019 Sesto Fiorentino (FI), Italy
 T. +39 055 457-2469 (Lab: -2006)



Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta ao remetente antes de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente.

Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying to the sender before copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately.


References:
Calcout from other IOC Gabriele Santambrogio via Tech-talk

Navigate by Date:
Prev: Calcout from other IOC Gabriele Santambrogio via Tech-talk
Next: History of EPICS Nonn, Patrick 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  2021  2022  2023  2024  <2025
Navigate by Thread:
Prev: Calcout from other IOC Gabriele Santambrogio via Tech-talk
Next: History of EPICS Nonn, Patrick 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  2021  2022  2023  2024  <2025