EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Problem of NORD field in waveform (R3.14.4)
From: "Kim, Kukhee" <[email protected]>
To: <[email protected]>
Cc: "'Chestnut, Ronald P.'" <[email protected]>, "'Marty Kraimer'" <[email protected]>, "'Bob Dalesio'" <[email protected]>, <[email protected]>
Date: Thu, 26 Feb 2004 18:27:46 +0900
Dear ALL;

I am playing with waveform record on the R3.14.4.  A subroutine record puts values to a waveform record directly, but whole reading values of the waveform were always â0â when I tried âcagetâ.  So, I checked out the NORD field in the waveform record. It was always â0â.  I guess, it is supposed to have same value with NELM field.
So, I made small cheating as the following.  It is a part of subroutine record to set NORD field to same value with NELM field.
ãããã
	DBADDR *pdbAddrLinkA = dbGetPdbAddrFromLink(&prec->inpa);
ããããDBADDR *pdbAddrLinkB = dbGetPdbAddrFromLink(&prec->inpb);
	long   no_elements   = pdbAddrLinkA->no_elements;
ããããwaveformRecord  *precord;

ããããprecord = (waveformRecord*)pdbAddrLinkA->precord;
ããããprecord->nord=no_elements; 
ããããprecord = (waveformRecord*)pdbAddrLinkB->precord;
ããããprecord->nord=no_elements;
 
And then, I can read waveform normally.
I would like to know, what cause this problem?

Thank you.
-------------------------------
Kukhee Kim
Instrument & Control, KSTAR
Korea Basic Science Institute
52 Yeoeun-dong, Yusung-gu, Daejeon 305-333
Korea
Email: [email protected]
Tel: +82 42 870 1616     Fax: +82 42 870 1609      Cell: +82 17 513 484
ã





Replies:
Re: Problem of NORD field in waveform (R3.14.4) Marty Kraimer

Navigate by Date:
Prev: Job Opening at APS Ned Arnold
Next: Re: Problem of NORD field in waveform (R3.14.4) Marty Kraimer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Job opening at APS John Maclean
Next: Re: Problem of NORD field in waveform (R3.14.4) Marty Kraimer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·