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

Subject: RE: A question about decoding strings in Asyn....
From: "Owens, PH \(Peter\)" <[email protected]>
To: "Dave Reid" <[email protected]>, <[email protected]>
Date: Fri, 29 Sep 2006 10:03:46 +0100
You could use stream device.

> -----Original Message-----
> From: Dave Reid [mailto:[email protected]]
> Sent: 27 September 2006 19:25
> To: [email protected]
> Subject: A question about decoding strings in Asyn....
> 
> 
> I'm using an Asyn record to get a readback from a Kepco power 
> supply via 
> GPIB.  The return string comes back as an exponential, i.e. 
> "1.5439E01". 
>   Is there a slick way for taking this string and decoding it into a 
> float?  Will the SSCANF facility in the SCALC record do this?
> 
> Thanks...
> 
> Dave Reid
> University of Washington Medical Center
> 


References:
A question about decoding strings in Asyn.... Dave Reid

Navigate by Date:
Prev: Re: CMLOG on recent Linux? Gasper Pajor
Next: EPICS Training at USPAS Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: A question about decoding strings in Asyn.... Pete Jemian
Next: RE: A question about decoding strings in Asyn.... Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·