Am Dienstag, 14. Februar 2012, 19:34:20 schrieb Andrew Johnson:
> On 2012-02-14 Nerses Gevorgyan wrote:
> > I'm trying to put into waveform record an array of STRINGs.
> >
> > As I understood from waveform code and manual the VAL field is
> > a void pointer which should be supplied by user.
>
> Sorry, if that's what the record reference manual says it's wrong.
>
> The prec->val field is never actually used inside the record source code.
> When you the access the VAL field of a waveform record through CA or a
> database link, the data is actually fetched from the prec->bptr field,
There is, BTW, no technical reason why VAL could not be used to hold the
pointer to the value buffer (instead of wasting another field for that) but,
presumably for historical reasons, that's not how it works.
Cheers
Ben
________________________________
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ührerin: Prof. Dr. Anke Rita Kaysser-Pyzalla
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
http://www.helmholtz-berlin.de
- References:
- How to get array of strings from waveform record? Nerses Gevorgyan
- Re: How to get array of strings from waveform record? Andrew Johnson
- Navigate by Date:
- Prev:
Re: How to get array of strings from waveform record? Andrew Johnson
- Next:
epics-arduino Emmanuel Mayssat
- 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:
Re: How to get array of strings from waveform record? Andrew Johnson
- Next:
Re: How to get array of strings from waveform record? Nerses Gevorgyan
- 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
|