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  2012  2013  <20142015  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problem with creating an array of Long with aSub record
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Mon, 25 Aug 2014 12:22:02 +0200
On Friday 15 August 2014 13:09:23 Mark Rivers wrote:
> Just to add to the confusion:
> > In EPICS LONG means 32-bits, but in 64-bit C it means 64 bits.  You
> > need an array of int not long!
> A "long" on 64-bit Linux is 64 bits.  But a "long" on 64-bit Windows
> is still only 32 bits.  Pointers are 64 bits, but not longs.  The
> "long long" datatype is 64 bits on Windows (and most other
> platforms).

https://en.wikipedia.org/wiki/64bit#64-bit_data_models

gives a nice overview over the several variants. (Disclaimer: I did not
check the content for correctness.)

Cheers
ben
--
"Make it so they have to reboot after every typo." ― Scott Adams


________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


References:
Problem with creating an array of Long with aSub record David Michel
RE: Problem with creating an array of Long with aSub record michael.abbott
RE: Problem with creating an array of Long with aSub record Mark Rivers

Navigate by Date:
Prev: Re: ePID deadband on output Benjamin Franksen
Next: RE: ePID deadband on output Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problem with creating an array of Long with aSub record Andrew Johnson
Next: Areadetector IOC for Pilatus Specht, Eliot D.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·