I have a waveform and an aSub records. I want to transfer data from the waveform to the aSub record and I am having difficulties with that.
Here is my (simplified) waveform record:
record( waveform, "$(P):WF:REQUEST"){
field( DESC, "struct for request")
field( FTVL, "CHAR")
field( NELM, "132")
field( FLNK, "$(P):AS:REQUEST")
}
and here is my aSub record:
record( aSub, "$(P):AS:REQUEST"){
field( DESC, "struct for request")
field( INAM, "asInitialize")
field( SNAM, "asRequest")
# field( INPA, "(P):WF:REQUEST")
field( FTA, "CHAR")
field( NOA, "132")
field( FTVA, "UCHAR")
field( NOVA, "132")
}
When I process the waveform record, the asRequest routine gets called when the INPA field is commented out. However, when I uncomment the INPA field, asRequest routine no longer gets called when the waveform record is processed. Looking at the TIME field in the aSub record I can tell that the records is getting processed each time I process the waveform record, regardless if the INPA field is commented out or not.
Is it not allowed to transfer array of bytes from one record to another?
Is there a way to make that kind of data transfer?
Thanks in advance,
Zen