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  2012  2013  2014  2015  2016  <2017 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
<== Date ==> <== Thread ==>

Subject: RE: Mythen writeFloat64()
From: Mark Rivers <rivers@cars.uchicago.edu>
To: 'Iain Marcuson' <Iain.Marcuson@sydorinstruments.com>, "tech-talk@aps.anl.gov >> EPICS Tech Talk" <tech-talk@aps.anl.gov>
Date: Mon, 1 May 2017 20:25:37 +0000
Hi Iain,

Thanks for spotting that, it was an error.  I have fixed it and pushed to Github.

Mark


-----Original Message-----
From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Iain Marcuson
Sent: Monday, May 01, 2017 3:16 PM
To: tech-talk@aps.anl.gov >> EPICS Tech Talk
Subject: Mythen writeFloat64()

I have been looking at the Mythen driver and have spotted some code that seems quite odd.  Line 1213 contains
if (function < NUM_SD_PARAMS)
but comparing this with the examples for writeOctet and writeInt32, along with the comments, suggest that this line should be
if (function < FIRST_SD_PARAM)

Am I missing some subtlety, or is this an error?

Iain.

References:
Mythen writeFloat64() Iain Marcuson

Navigate by Date:
Prev: Mythen writeFloat64() Iain Marcuson
Next: RE: EpicsQT and Archiver Appliance Andraz Pozar
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
Navigate by Thread:
Prev: Mythen writeFloat64() Iain Marcuson
Next: Question about autosave ? lzf neu
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
ANJ, 02 May 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·