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  2015  2016  <2017 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
<== Date ==> <== Thread ==>

Subject: Re: Asyn 4-30 Problem on Arm processor
From: Jörn Dreyer <j.dreyer@hzdr.de>
To: tech-talk@aps.anl.gov
Date: Fri, 17 Mar 2017 15:15:33 +0100
Am Freitag, 17. März 2017, 14:20:27 CET schrieb Konrad, Martin:
> Hi Jörn,
> 
> > I could not use StreamDevice because of hardware issues. It turned
> > out that these devices need special configurations of the serial
> > interface which can not be set using the standard asynSerialPort
> > driver.
> 
> Can you please elaborate on what these settings are?
> 
> > In addition there are some commands that need to combine the values
> > from more than one PV into the output stream.
> 
> Note that this is also possible with streamdevice:
> http://epics.web.psi.ch/software/streamdevice/doc/tipsandtricks.html#writema
> ny
> 
> -Martin

Thanks to Mark Rivers, the bug in the code has been found. 

The special settings are related to the timing of the serial interface.

Stream device is fine, as long as you do not have to do special calculations of 
the PV value and some crazy bit shifting when building the string together 
with only two bit value as separator between the values and thing like that.

Many thanks for the tips and the help

Jörn


References:
Asyn 4-30 Problem on Arm processor Jörn Dreyer
Re: Asyn 4-30 Problem on Arm processor Konrad, Martin

Navigate by Date:
Prev: AreaDetector / ADURL queries Heesterman, Peter J
Next: TDCT apparent bug (or is it just me?) Michael Westfall
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
Navigate by Thread:
Prev: Re: Asyn 4-30 Problem on Arm processor Konrad, Martin
Next: Streamdevice & variable length data Konrad, Martin
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
ANJ, 17 Mar 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·