Experimental Physics and Industrial Control System
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
<2004>
2005
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
<2004>
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024