EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Strange StreamDev behaviour
From: Dirk Zimoch <[email protected]>
To: <[email protected]>
Date: Tue, 24 Mar 2015 16:35:21 +0100
Hi Jörn,

I think I should modify the error message "Businterface '0)' not found" to something like "space in parameter list not supported" ... or support spaces in the parameter list.

Dirk


On 24.03.2015 11:25, Jörn Wüstenfeld wrote:
Hello,
I currently have a problem with Streamdev version 2.6 and asyn 2.26 using base
3.14.12.4 on an arm linux.

I have a protocol that needs two parameters:

monIMdec {
	out "$BD:\$1,CMD:MON,CH:\$2,PAR:IMDEC";
	in  "#BD:%*i,CMD:OK,VAL:%i";
}

The corresponding database file contains the following record using this
protocol:

record (ai, "xxx:monIMdec")
{
	field (DESC, "readback of current resolution")
	field (DTYP,  "stream")
	field (INP,  "@CaenHVNimUsb.proto monIMdec($(ps), $(channel))
$(interface)")
   field (PREC, "2")
}

Running the IOC I get the following error message during the initializaion
phase:

_main_ Businterface '0)' not found for 'xxx:monIMdec'
  _main_ xxx:monIMdec: Can't attach to bus 0) -1
  _main_ xxx:monIMdec: Record initialization failed

If I do a "dbpr xxx:monIMdec", the value in the record is undefined.
If I do a "dbtr xxx:monIMdec" and then a "dbpr xxx:monIMdec" the expected
value is set. and no further messages are printed.

It looks to me that during initialization the parser of StreamDev does not
handle more than one protocol parameter.
What can I do to get rid of this error messages?

With kind regards,

Jörn Wüstenfeld






References:
Strange StreamDev behaviour Jörn Wüstenfeld

Navigate by Date:
Prev: RE: Strange StreamDev behaviour tom.cobb
Next: Base 3.14.12.5 Released Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Strange StreamDev behaviour Jörn Wüstenfeld
Next: Base 3.14.12.5 Released Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·