Should cc = "thr low" rather than "thr low valid"?
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dr. Peter Zumbruch
Sent: 23 July 2010 16:09
To: [email protected]
Subject: streamDev - ENUM Converter (%{string0|string1|...})
Hi all,
I have problems reading the output from my serial device using streamDev
my protocol is
> thr_low_valid_intr {
> Terminator = LF;
> cc="thr_low_valid";
> in $recvKey $cc" %*x %{INVALID|VALID}";
> }
my record is:
> record(bi, "etrax201:RLTH:thr_low_valid") {
> field(DESC, "thr low valid")
> field(SCAN, "I/O Intr")
> field(DTYP, "stream")
> field(INP, "@hadcon_RLTH.proto thr_low_valid_intr()
> $(device,undefined)")
> field(VAL, "0")
> field(ZSV, "MINOR")
> field(ZNAM, "INVALID")
> field(ONAM, "VALID")
> }
"device" set in st.cmd
but the result (var streamDebug 1) is that VALID or INVALID is not
recognized:
> 2010/07/23 16:52:35.449 hadcon AsynDriverInterface.cc:983:
> AsynDriverInterface::asynReadHandler(etrax201:RLTH:thr_low_valid,
> buffer="RECV RLTH thr_low 0x40 VALID<0a>", received=29 eomReason=NONE)
> ioAction=AsyncRead
> 2010/07/23 16:52:35.451 hadcon StreamCore.cc:910:
> StreamCore::readCallback(etrax201:RLTH:thr_low_valid,
> status=StreamIoSuccess input="RECV RLTH thr_low 0x40 VALID<0a>", size=29)
> 2010/07/23 16:52:35.452 hadcon StreamCore.cc:967:
> StreamCore::readCallback(etrax201:RLTH:thr_low_valid)
> inputBuffer="RECV RLTH thr_low 0x40 VALID<0a>", size 29
> 2010/07/23 16:52:35.454 hadcon StreamCore.cc:989:
> StreamCore::readCallback(etrax201:RLTH:thr_low_valid) inTerminator
> <0a> at position 28
> 2010/07/23 16:52:35.456 hadcon StreamCore.cc:1056:
> StreamCore::readCallback(etrax201:RLTH:thr_low_valid) input line:
> "RECV RLTH thr_low 0x40 VALID"
> 2010/07/23 16:52:35.457 hadcon StreamCore.cc:1076:
> StreamCore::readCallback(etrax201:RLTH:thr_low_valid) async match
> failure: just restart
> 2010/07/23 16:52:35.459 hadcon AsynDriverInterface.cc:674:
> AsynDriverInterface::readRequest(etrax201:RLTH:thr_low_valid, 4000
> msec reply, 500 msec read, expect 0 bytes, asyn=yes)
> 2010/07/23 16:52:35.464 hadcon AsynDriverInterface.cc:1067:
> AsynDriverInterface::asynReadHandler(etrax201:RLTH:thr_low_valid)
> readMore=0, ioAction=AsyncRead
The rest of the protocol is working just this function not, why?
Any suggestions appreciated,
best regards,
Peter
--
Dr. rer. nat. Peter W. Zumbruch
EE - department / Controls group / GSI
E-Mail: P.Zumbruch_at_gsi.de
Tel: +49-(6159)-71-1435 / Fax: +49-(6159)-71-2986
GSI Helmholtzzentrum für Schwerionenforschung GmbH
Planckstraße 1 / D-64291 Darmstadt / www.gsi.de
Gesellschaft mit beschränkter Haftung
Sitz der Gesellschaft: Darmstadt
Handelsregister: Amtsgericht Darmstadt, HRB 1528
Geschäftsführung: Professor Dr. Dr. h.c. Horst Stöcker,
Christiane Neumann, Dr. Hartmut Eickhoff
Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph,
Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt
--
Scanned by iCritical.
- References:
- streamDev - ENUM Converter (%{string0|string1|...}) Dr. Peter Zumbruch
- Navigate by Date:
- Prev:
Re: copying output of Linux ioc to file Ralph Lange
- Next:
Anyone using Siemens WinCC SCADA? Andrew Johnson
- 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:
streamDev - ENUM Converter (%{string0|string1|...}) Dr. Peter Zumbruch
- Next:
Anyone using Siemens WinCC SCADA? Andrew Johnson
- 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
|