Hi Dave,
Yep, that's how I do it.
I'm attaching a database I recently wrote to control and read status
from a laser power supply using asyn and scalcout records.
Mark
> -----Original Message-----
> From: Dave Reid [mailto:[email protected]]
> Sent: Wednesday, September 27, 2006 1:25 PM
> 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
>
Attachment:
IPG_YLR_laser.db
Description: IPG_YLR_laser.db
- Navigate by Date:
- Prev:
A question about decoding strings in Asyn.... Dave Reid
- Next:
Re: A question about decoding strings in Asyn.... Pete Jemian
- 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
- Navigate by Thread:
- Prev:
RE: A question about decoding strings in Asyn.... Owens, PH (Peter)
- Next:
CMLOG on recent Linux? Ralph Lange
- 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
|