Hi Andrew,
On 09/14/2012 04:31 PM, Andrew Johnson wrote:
Hi Hinko,
You should also be able to replace the waveform record with an aSub
record and
implement the sub-array replacement part in C code, which would need
fewer
records on the IOC and is probably slightly more efficient, but will
take more
development work to implement.
If I understand the use of aSub correctly, it does not need allow DTYP
being set. Since I can't bind any device to it, I was hoping that INPx
field(s) might be set to point to INST_IO based link type, something like :
@param(PARAM1=abc PARAM2=123)
but that does not seem to work as expected. The problem I see when
trying to get link value (this is from init() at IOC startup):
rec->inpa.value.instio.string ==>> '@param(PARAM1=abc'
ONLY half of string.. where is the other half?
rec->inpa.text ==>> NULL
NULL pointer ?
For other records such ai, bi, longin I can access INP field value using
'rec->inp.text'.
Thanks,
Hinko