Experimental Physics and
| |||||||||||||||
|
How is a waveform of strings represented in memory? As an array of pointers to char? Or as NELM consecutive 40 byte chars? Or less than 40 (depending on the size of each waveform element). This is what Kay suggests: Not sure, but I would assume NELM consecutive 40 byte chars. This is how the memory is allocated in the waveform record: prec->bptr = callocMustSucceed(prec->nelm, dbValueSize(prec->ftvl), "waveform calloc failed"); So it's one long area, and dbValueSize(STRING) is MAX_STRING_SIZE == 40. Is it so? -- Best regards, Pavel Maslov, MS Controls Engineer at Pulsed power Lab Efremov Institute for Electro-Physical Apparatus St. Petersburg, Russia Mobile: +7 (951) 672 22 19 Landline: +7 (812) 461 01 01
| ||||||||||||||
ANJ, 18 Nov 2013 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |