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: making the calc record process in CS studio |
From: | Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov> |
To: | "Saunders, Wyatt" <ws275820 at ohio.edu> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 9 Oct 2024 07:34:14 -0700 |
...The best way I have found to make a record process is to set an action button to execute a command in the action's menu the command i use is. caput "record name" 1
This works well for my ai records as it returns the value just like I want it to, and I can see the commands being sent to the Agilent box. However, when I try this same thing with the calc record it will not process the record. I do not see commands sent to the Agilent box.
Assumption: When the calc record is called it will make all other records that it takes as inputs process, in order to do its calculation.
Question 1: is my assumption correct about the calc record?
No. I would suggest reading the sections on the SCAN fields,
which is how you would arrange to periodically process one
record. And the FLNK field, which is one way to sequence
processing of multiple records.
Question 2: is there a better way to make a record process using an action button?
When thinking about this, consider that EPICS is a distributed
system. The normal situation will have multiple clients accessing
the same records. Think what happens if all of these users are
clicking their action buttons?