EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: multiple interrupt callback for waveform record
From: "Vishnu Patel" <[email protected]>
To: "techtalk " <[email protected]>
Date: 24 Feb 2015 20:39:18 -0000

Hi,
   In my asynDriver based driver, i am acquiring 100 data points in the poling mode and then call interrupt callback for waveform record for each channel. 

  If i keep my NELM field more than 100 in the application waveform record, it works fine and i am not loosing any data. but if application have waveform record   NELM less then 100, i am loosing data.

I tried to run loop for calling interrupt call back function upto 100 data points over but it seems it doesn't call callback after once called.  and need end and restart interrupt.

The way i am calling interrupt is as below with addr=channel number.

if (interrupt[addr]) {
p_interruptFloat32Array->pasynUser->auxStatus = interrupt_status[addr];
p_interruptFloat32Array->callback(p_interruptFloat32Array->userPvt,
p_interruptFloat32Array->pasynUser, buffer[addr], threshold);
}

Do any one doing multiple callback for same channel till all the buffered data pushed out to waveform record with same interrupt node?

Thanks  

Vishnu

Get your own FREE website, FREE domain & FREE mobile app with Company email.  
Know More >

Replies:
RE: multiple interrupt callback for waveform record Mark Rivers

Navigate by Date:
Prev: RE: Begginer with EPICSv4 david.hickin
Next: RE: multiple interrupt callback for waveform record Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Support for an HPLC pump manufactured by SSI tom.cobb
Next: RE: multiple interrupt callback for waveform record Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·