EPICS Controls 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  <20122013  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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: How to scale waveform of integers to float?
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Thu, 2 Aug 2012 13:32:17 +0200
Hi All

I get a 16 bit raw integer array from a scope (Agilent3000) via stream 
device and would like to (linearly) convert it to an array of float, like 
the ai record does for scalar values. I see that neither aai, nor waveform 
record have LINR/EGUF/EGUL etc fields.

Is there a record type that can do this for me? I have a hard time to 
imagine that I am the first one to encounter this problem!

Cheers
Ben

Attachment: signature.asc
Description: This is a digitally signed message part.


Replies:
Re: How to scale waveform of integers to float? Dirk Zimoch

Navigate by Date:
Prev: Re: stream device string/hex parsing Dirk Zimoch
Next: Cross-compilation, static build, etc Bruno Seiva Martins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: aSub INPA field and CPP attribute on win32-x86 platform Janez Golob
Next: Re: How to scale waveform of integers to float? Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·