EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: monitors for arrays
From: "Brian McAllister" <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Fri, 11 Feb 2000 13:02:28 -0500
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  <20002001  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  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·