Ralph,
That's a good suggestion. I was thinking about a complete working example when I sent that. The record descriptions are good. And the example code is helpful. But there are few examples of fully implemented and running db's and adl's.
The tips from the list were helpful. And it was helpful to write my question clearly.
I've got a working example posted here:
http://physics.valpo.edu/staff/pnord/temp/epics_seq_example/
It has both a .db file and a working MEDM screen.
It has one bug if anyone can figure that out for me. This is intended to allow EPICS to recover a HV supply from a trip condition a maximum of "maxCycles" times. But it seems to do it maxCycles+1 times. And it shows tripCount=0 twice.
This is probably about the limit for complex logic in an seq record. Any more than this and I'd think a sequence state machine would be preferred. The db is already pretty difficult to read.
Thanks again!
Paul
On Sep 13, 2011, at 2:14 AM, Ralph Lange wrote:
> Paul,
>
> On Mon Sep 12 2011 23:47:09 GMT+0200 (CEST), Paul Nord
> <[email protected]> wrote:
>> [...]Does someone have something like this? The seq record example in the EPICS doc's is pretty trivial.
>
> Example? Didn't even know there is one.
> The Record Reference Manual [1] where you find descriptions of all
> record types in base, has been wikified - if you find something wrong or
> missing, please take the time and go ahead fixing or adding it.
>
> Thanks a lot,
> ~Ralph
>
> [1] http://www.aps.anl.gov/epics/wiki/index.php/RRM_3-14
>
- References:
- Another newbie question - seq record example? Paul Nord
- Re: Another newbie question - seq record example? Ralph Lange
- Navigate by Date:
- Prev:
Re: asynMotorController exception safety Till Straumann
- Next:
aSubRecord VAL field Bruce Hill
- 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: Another newbie question - seq record example? Ralph Lange
- Next:
Radhard potentiometers? Molina Marinas, Eduardo
- 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
|