Experimental Physics and Industrial Control System
On Wed, 2022-06-29 at 12:24 +0000, Kasemir, Kay wrote:
> Hi:
>
> > > > The error "Record does not accept input" happens when you send a string (parsed with %s) to a record with an
> enum
> > > > VAL
> > > > like your mbbi, but the string does not match any of the enum strings in the record.
> > > > As your record only has "STANDBY", "OPERATE" and "SELFTEST", it does not accept the input "MONITOR".
> > > The mbbi should be in INVALID/CALC alarm state after that.
> > Except.... that your record is "I/O Intr". Such records get all the available input but process only matching input.
> > Non-matching input is silently ignored. That is by design how StreamDevice implements I/O Intr.
>
> That all makes sense.
> SCAN=I/O Intr checks everything but only reacts on match.
> Anything else is assumed to be meant for some other record and thus ignored.
>
> Maybe the issue could be avoided by changing the message from
> error .. does not accept input 'MONITOR'
> to something like
> info .. value 'MONITOR' ignored because outside of expected values.
> ?
>
> Cheers,
> Kay
Actually I think, the error message should be suppressed for "I/O Intr" records.
And what you said for all others.
Dirk
- References:
- StreamDevice return state error Barrett (US), Patrick E via Tech-talk
- Re: StreamDevice return state error Zimoch Dirk (PSI) via Tech-talk
- Re: StreamDevice return state error Zimoch Dirk (PSI) via Tech-talk
- Re: StreamDevice return state error Zimoch Dirk (PSI) via Tech-talk
- Re: StreamDevice return state error Kasemir, Kay via Tech-talk
- Navigate by Date:
- Prev:
Re: StreamDevice return state error Kasemir, Kay via Tech-talk
- Next:
Re: [EXTERNAL] Re: Phoebus connection to alarm server / Kafka Kasemir, Kay 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 return state error Kasemir, Kay via Tech-talk
- Next:
RE: StreamDevice return state error Barrett (US), Patrick E 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