Hi Christian,
At first sight it might sound like a bad idea to poll devices
periodically: If the values are used rarely this means a lot of
unnecessary communication to the device. However, there are a few points
to keep in mind:
- Every once in a while a PV might draw a lot of attention. If you're
talking to the device for each client that requests the data you might
overwhelm a device with a slow interface or controller in the moment you
need it the most. If you're polling load is always the same.
- Every once in a while devices fail and stop talking. I usually want to
know right away (alarm). If you aren't polling the device how do you know?
- Polling only affects the connection between the IOC and the device.
Generally no Channel Access updates are posted if the value hasn't
changed (or within the MDEL). This usually keeps overall traffic on the
network reasonably low.
-Martin
--
Martin Konrad
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7253
Email: konrad at frib.msu.edu
- Navigate by Date:
- Prev:
Re: Stream device - general concept how to use Christian Pauly via Tech-talk
- Next:
Re: Stream device - general concept how to use Ralph Lange via Tech-talk
- 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
- Navigate by Thread:
- Prev:
RE: Stream device - general concept how to use Mark Rivers via Tech-talk
- Next:
Pure Python IOC (CAProcess issue) Simon Reiter via Tech-talk
- 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
|