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 2025 | 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 2025 |
<== 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