Hi Andrew,
That is interesting. I have never seen this behavior and would like to reproduce
it. But for that, I need to understand exactly what happens.
StreamDevice claiming something "unexpected" happens of course means that I
never expected it to happen and thus I have no idea how to force this behavior.
Thus, the more precisely you can tell me what exactly your instrument does, the
higher the chance I can fix it.
Does the instrument shutdown its socket? Or does it simply switch off its
network interface? Or is it for example a firewall that interrupts the
connection? Can you get the same behavior switching off your instrument or
pulling the network cable? Anything I can try without having access to your
instruments?
Dirk
On Wed, 2023-11-15 at 19:24 +0000, Wang, Andrew via Tech-talk wrote:
> Hi all,
>
> This is kind of a general question, but we have an IOC that is running 24 instruments, all of the same type. We have them set to DHCP and a timeout of 30s meaning that the connection closes if the instrument does not receive TCP/IP commands after 30s.
>
> I have a fanout that processes records and fetches values from the instruments through queries defined in a protocol file. After 30s, the IOC would output a plethora of error messages from StreamDevice that all say streamCore::readCallback(rec_name) called unexpectedly. It doesn’t do that every 1 second, which is what I have the scan rate of the fanout record set to.
>
> It would be great if somebody could shed some light on scenarios that could cause this error message to be generated.
>
> Thank you,
> Andy
>
> Purple ribbon awareness
>
- References:
- StreamDevice (streamCore::readCallback called unexpectedly) Wang, Andrew via Tech-talk
- Navigate by Date:
- Prev:
Alarms.services in Phoebus Alarms 刘晓敏 via Tech-talk
- Next:
RE: Alarms.services in Phoebus Alarms SAINTIN Katy 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: StreamDevice (streamCore::readCallback called unexpectedly) Mark Rivers via Tech-talk
- Next:
Highland P500 support? Jeff Kirchman 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
|