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: Re: streamDevice I/O Intr polling rate
From: Dirk Zimoch <[email protected]>
To: Dimitrios Tsifakis <[email protected]>
Cc: [email protected]
Date: Wed, 02 Feb 2011 16:22:31 +0100
Dimitrios Tsifakis wrote:
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


Yes, set the variable PollPeriod (in milli seconds). It defaults to the value of ReplyTimeout.


References:
streamDevice I/O Intr polling rate Dimitrios Tsifakis

Navigate by Date:
Prev: time discontinuity detected Carsten Winkler (HZB)
Next: Re: StreamDevice/ASYN connection to a Telnet port 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 
Navigate by Thread:
Prev: streamDevice I/O Intr polling rate Dimitrios Tsifakis
Next: RE: Andor driver for areaDetector? matthew.pearson
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 ·