Experimental Physics and Industrial Control System
|
One way to do conditional execution in an EPICS database is by using the SELM and SELN fields of a seq record. Set SELM to "Specified", and write a number to the SELN field. If you want more than one of several things to happen, you can write "Mask" to SELM,
and write a bitmap value to SELN, specifying which things to do.
+1
The combination of a calcout record (evaluating conditions) writing to a seq record in "Mask" mode (executing actions) is extremely powerful. As actions can include delays and changing the calcout's fields, that setup is good enough for a small state machine. (You will also win any district level obfuscation contest.)
Cheers, ~Ralph
- Replies:
- Re: Tips for doing conditional logic in EPICS records Mark Davis via Tech-talk
- References:
- Tips for doing conditional logic in EPICS records Mark Davis via Tech-talk
- Re: Tips for doing conditional logic in EPICS records Mooney, Tim M. via Tech-talk
- Navigate by Date:
- Prev:
Re: Tips for doing conditional logic in EPICS records Mooney, Tim M. via Tech-talk
- Next:
Re: Adding new record to EPICS 7 IOC with pvDatabase Joao Paulo Martins 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
- Navigate by Thread:
- Prev:
Re: Tips for doing conditional logic in EPICS records Mooney, Tim M. via Tech-talk
- Next:
Re: Tips for doing conditional logic in EPICS records Mark Davis 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
|
ANJ, 30 Apr 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|