1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 <2006> 2007 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 <2006> 2007 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
>