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: Gentec S-link power meter problem with ending I/O interrupt measurement
From: bohmm <[email protected]>
To: Tech talk <[email protected]>
Date: Tue, 14 Apr 2015 11:07:29 +0100
Hello,
I am an EPICS newbie and trying to implement statistics functions for our energy meter. Our laser system is running at 10 Hz and the energy meter has to catch every pulse energy/power value for the statistics to be computed properly. So the energy meter is running with an external trigger. I am communicating with the device via StreamDevice using serial commands.

The device supports two acquisition modes: Polling ("Free running") and I/O interrupt (device is generating interrupts).

The problem is, once I get into I/O Interrupt mode @ 10 Hz, the device is so busy receiving the data, that any other byte streams send to it via StreamDevice do not get through. The consequences are that I am not able to send the command to end the I/O Interrupt mode once I started it and get back to Polling ("free running"), and also that the devices does not receive its other statuses.

At really low repetition rates (@ 0.5 Hz) this problem does not occur, the device has "time to answer".

Did anybody deal with a similar problem? Is it possible to solve without writing a driver?


Best regards

Marek Böhm


Replies:
RE: Gentec S-link power meter problem with ending I/O interrupt measurement Mazanec Tomáš

Navigate by Date:
Prev: Problems using static database routines to modify IOCs marc . lormand
Next: Re: StreamDevice reading waveforms Anthony Pietryla
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: RE: Problems using static database routines to modify IOCs freddie.akeroyd
Next: RE: Gentec S-link power meter problem with ending I/O interrupt measurement Mazanec Tomáš
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 ·