Experimental Physics and Industrial Control System
Hi all,
I setup an epics x86-ioc attached to a tcp server, the ioc listens to
known size packets from the server and fills an epics waveform record
with the data. The packets are ~21kB and update at ~50Hz, our clients
have EPICS_CA_MAX_ARRAY_BYTES set.
One of our user reported seeing intermittent corrupt values, the rate is
highly unpredictable: one bad sample every few seconds to few minutes.
I setup two minimal test clients to check what was happening -
1. one polling ca_get (which is how my user implemented his client app)
2. another using ca_monitor
(1) reproduce the problem while (2) appears trouble free.
I remember reading a post on tech-talk about string/array not being
buffered and thought that might explain the issue with (1), something
like concurrent read/write maybe. Could this be the issue?
Also, I was wondering if (2) is guaranteed to be consistent? Do I need
to put something else in place so every single waveform update will be
consistent.
Thanks,
Matthieu
--
Matthieu Bec Gemini Observatory
Tel: +56 51 205785 c/o AURA, Casilla 603
Fax: +56 51 205650 La Serena, Chile
- Navigate by Date:
- Prev:
RE: [APS Beamline_controls] Problems building with Microsoft VisualStudio 2005 (VC8) Tim Graber
- Next:
Fwd: question about ca arrays Ned Arnold
- 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:
Power Supply Info Ahed Aladwan
- Next:
Fwd: question about ca arrays Ned Arnold
- 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