EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  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  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: streamDevice Exception Handler Question
From: "Martin L. Smith" <[email protected]>
To: [email protected]
Date: Thu, 15 Nov 2012 08:33:30 -0600
When using steamDevice exception handlers and in particular the
replytimeout and readtimeout handlers, what would one normally
do in these handlers?

For a mismatch I simply get whatever the received data was and put
that in a string record for display so that I know that something
went wrong ... since the error messages are now suppressed from this
error.

Is it possible to set a PV to a value without using an "in" command?
Or would I simply look at the STAT field of the record using the protocol
to know that something happened in the case of a timeout error?

Thanks,
Marty

Replies:
Re: streamDevice Exception Handler Question Dirk Zimoch

Navigate by Date:
Prev: StreamDevice and sCalcoutRecord.h Pavel Maslov
Next: Re: StreamDevice and sCalcoutRecord.h Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: StreamDevice and sCalcoutRecord.h Pavel Maslov
Next: Re: streamDevice Exception Handler Question Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024