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  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 
<== Date ==> <== Thread ==>

Subject: Strange StreamDev behaviour
From: Jörn Wüstenfeld <j.wuestenfeld@hzdr.de>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 24 Mar 2015 11:25:23 +0100
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



Replies:
RE: Strange StreamDev behaviour tom.cobb
Re: Strange StreamDev behaviour Dirk Zimoch

Navigate by Date:
Prev: areaDetector ADCore and ADBinaries R2-2 released Mark Rivers
Next: RE: Strange StreamDev behaviour tom.cobb
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 
Navigate by Thread:
Prev: areaDetector ADCore and ADBinaries R2-2 released Mark Rivers
Next: RE: Strange StreamDev behaviour tom.cobb
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 
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 ·