Folks,
There is something I don't quite understand about the ao and ai records with soft device support.
If I set DOL="1", then the init_record routine, either in the record (for ao), or in device support (for ai) sets prec->udf=0. This is what I expect. However, I find that after iocInit that STAT=UDF and SEVR=Invalid. This is not what I expected.
The records never call checkAlarms in init_record, so the STAT and SEVR are not being reset to NO_ALARM. Are the STAT and SEVR fields to to UDF and INVALID somewhere else in base before init_record is called?
If I set PINI=1 in my database, then the record will process once, and STAT and SEVR will be set to NO_ALARM. But I don't understand why I have to do this, why does a soft record initialize with STAT=UDF aand SEVR=Invalid when its DOL is OK?
Is this the desired behavior, and is there a way to make the STAT and SEVR be NO_ALARM without having to set PINI=1?
Thanks,
Mark
- Replies:
- Re: Initial STAT and SEVR for soft ai and ao records Marty Kraimer
- Navigate by Date:
- Prev:
RE: DeltaTau PCI Motor Control Boards and Linux Norbury, MA (Martin)
- Next:
Re: Initial STAT and SEVR for soft ai and ao records Marty Kraimer
- 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: DeltaTau PCI Motor Control Boards and Linux Norbury, MA (Martin)
- Next:
Re: Initial STAT and SEVR for soft ai and ao records Marty Kraimer
- 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
|