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  2014  2015  2016  2017  <20182019  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Number of fields in record ssert error at runtime
From: Michael Westfall <[email protected]>
To: "[email protected] Talk" <[email protected]>
Date: Mon, 30 Apr 2018 10:54:08 -0300

What might be the cause of an assert error at runtime concerning the number of fields in a record?

This happens when the xxxRecordSizeOffset() function is called during record initialization.
The above function is defined in the xxxRecord.h file that is generated at compile time.

The line where it fails says 'assert(pdbRecordType->no_fields==99);'

Why would a record have a different number of fields at runtime than were defined in the structure defining the record?

This is a custom record that we are trying to use.

Thanks for any help...

--

Mike Westfall
Control Systems Software Engineer



Replies:
Re: Number of fields in record ssert error at runtime Mark Rivers

Navigate by Date:
Prev: Teledyne Lecroy waverunner Hassan, Mohamed
Next: Re: Number of fields in record ssert error at runtime Mark Rivers
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Teledyne Lecroy waverunner Hassan, Mohamed
Next: Re: Number of fields in record ssert error at runtime Mark Rivers
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 30 Apr 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·