Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: drvAscii decode string
From: Dirk Zimoch <dirk.zimoch@psi.ch>
To: TECHTALK <tech-talk@aps.anl.gov>
Date: Tue, 25 Apr 2006 15:54:46 +0200
Hi Ian,

you can use StreamDevice http://epics.web.psi.ch/software/streamdevice

There the format string can be "=V913 %f;59;11;0;0"
or probably "=V913 %f;%*d;%*d;%*d;%*d"

Dirk


Ian A Smith wrote:
I'm trying to read the following into an ascii analogin record:

"=V913 1.13e-04;59;11;0;0"

and to extract the 1.13e-04 or whatever. Using <%5k%f> just times out and so does <=V913%f>. Using %e makes no difference. If I read the value into a stringin record, there is no problem apart from the fact that it's a string.

Any suggestions?

TIA


-- Dr. Dirk Zimoch Swiss Light Source Paul Scherrer Institut Computing and Controls phone +41 56 310 5182 fax +41 56 310 4413


References:
drvAscii decode string Ian A Smith

Navigate by Date:
Prev: Re: drvAscii decode string Tim Mooney
Next: Re: No more CA connections? R3.14.7, 3.14.8.2, CAJ Kay-Uwe Kasemir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: drvAscii decode string Maren Purves
Next: RE: drvAscii decode string Porter, Rodney R.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·