Experimental Physics and
| |||||||||||||||
|
Hi All, I'm using a Waveform record of type char to represent a string (not using a Stringin or Stringout record since this string has more than 40 characters). That works well and I can easily put a string into this record such with caput -a and read it back with caget -s Now, I need to use this string in an aSub record but I'm having difficulties in doing so.
char ** myString; myString = (char **) precord->a; printf("%s\n",myString); The results of the printf statement shows only the first character of the string in ASCII.
Any idea of I can solve this? Many thanks David
| ||||||||||||||
ANJ, 17 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |