I'm trying to get monitors for arrays in a custom record to work.
Here's a piece of the monitor() function:
monitor_mask = recGblResetAlarms(pbpm);
monitor_mask |= (DBE_VALUE | DBE_LOG);
db_post_events(pbpm, &pbpm->nscp, monitor_mask);
if (pbpm->nscp > 0) {
db_post_events(pbpm, &pbpm->xscp, monitor_mask);
}
Here are the field definitions:
field(NSCP,DBF_SHORT) {
prompt("Number of Scope Samples")
special(SPC_NOMOD)
interest(3)
}
field(XSCP,DBF_NOACCESS) {
prompt("X Scope Data")
special(SPC_DBADDR)
interest(3)
extra("uint8_t * xscp")
}
Monitors on NSCP work just fine. Monitors on XSCP only get called once.
What am I missing ?
----
Brian McAllister Application Programmer/Beam Physicist
[email protected] MIT-Bates Linear Accelerator
- Navigate by Date:
- Prev:
Re: DeviceNet driver Bill Brown
- Next:
RE: monitors for arrays Eric Bjorklund, NPSM
- 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: Greenspring Octal serial IP device/driver support Andrew Johnson
- Next:
RE: monitors for arrays Eric Bjorklund, NPSM
- 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
|