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  <20112012  2013  2014  2015  2016  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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: streamDevice I/O Intr polling rate
From: Dimitrios Tsifakis <[email protected]>
To: [email protected]
Date: Mon, 10 Jan 2011 16:26:18 +1100
Hello,

I am producing a protocol file for a home-made scaler and I am having a
problem. The scaler can be set up with a target count, then it can be
given a simple "Go" command to start counting. It will send a message to
the serial port when the required count target is reached. I am using an
I/O Intr SCAN record to search in the serial port data for that string.
It works for target counts that result in counting times of a second or
more. When the real counting time is less than a second, the reported
counting time is always more, usually around 1 second but at times a bit
less than that. 

My question is, is there a way to increase the scan rate of the I/O Intr
record so that it detects the "target reached" string arriving on the
serial port quicker?

The counting times we expect are in the order of 300 ms. When I use
minicom to control the scaler directly, it sends the "target reached"
string as quickly as you would expect.

I am using base-3.14.12, asyn4-15 and StreamDevice-2-4, on linux.

Regards,
Dimitris

-- 
===========================================================================
Mail: [email protected]
WWW: http://wwwrsphysse.anu.edu.au/nuclear/
Phone: +61-2-6125 2088
Fax: +61-2-6125 0748

Dept. of Nuclear Physics        
Research School of Physics and Engineering
Australian National University  
Canberra ACT 0200  AUSTRALIA    


Replies:
Re: streamDevice I/O Intr polling rate Dirk Zimoch

Navigate by Date:
Prev: RE: Adding readback zeroing to an asyn analog input Angus Gratton
Next: RE: MOXA terminal server emma.shepherd
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: CSS Data Browser Plot Problem John Dobbins
Next: Re: streamDevice I/O Intr polling rate Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·