On 10/9/24 07:00, Saunders, Wyatt via
Tech-talk wrote:
...
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.
https://docs.epics-controls.org/en/latest/process-database/EPICS_Process_Database_Concepts.html#periodic-scanning
https://docs.epics-controls.org/en/latest/process-database/EPICS_Process_Database_Concepts.html#forward-links
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?
- Replies:
- RE: making the calc record process in CS studio Mark Rivers via Tech-talk
- References:
- making the calc record process in CS studio Saunders, Wyatt via Tech-talk
- Navigate by Date:
- Prev:
making the calc record process in CS studio Saunders, Wyatt via Tech-talk
- Next:
RE: making the calc record process in CS studio Mark Rivers 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:
making the calc record process in CS studio Saunders, Wyatt via Tech-talk
- Next:
RE: making the calc record process in CS studio Mark Rivers 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
|