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: CPP example NTTable builder
From: Heinz Junkes <[email protected]>
To: Talk EPICS Tech <[email protected]>, Heinz Junkes <[email protected]>
Date: Tue, 19 Jun 2018 19:49:25 +0200
HI,

try to create NTTable :

 NTTableBuilderPtr builder = NTTable::createBuilder();
    
    PVStructurePtr pvStructure = builder->
            addColumn("ts", pvInt)->
            addColumn("X", pvDouble)->
            addColumn("Y", pvDouble)->
            addColumn("Z", pvDouble)->
            addDescriptor()->
            addAlarm()->
            addTimeStamp()->
            createPVStructure();

Unfortunately, I always end up with "core-dump” on the RTEMS-system.

I have not understood yet how to specify the length for the four arrays (pvInt, pvDouble [X,Y,Z] ) connected to the 4 columns.
I thought I had to add an array structure to the 4 columns. But I found nothing in the nttable.h file how to do that.
Every note is welcome as always.

Danke,
Heinz

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Replies:
Re: CPP example NTTable builder Michael Davidsaver

Navigate by Date:
Prev: EPICS Meeting Talk files Andrew Johnson
Next: Re: EPICS Meeting Talk files Ricardo Cardenes
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: Re: EPICS Meeting Talk files Johnson, Andrew N.
Next: Re: CPP example NTTable builder Michael Davidsaver
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, 21 Jun 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·