Hie,
72 bytes data is recieved in waveform record. Now i wan't to divide it in 2 subArrays(36 bytes). please suggest how to do that. I have tried the following:
record(subArray, data1) {
field(SCAN, "Passive")
field(DTYP, "Soft Channel")
field(FTVL, "CHAR")
field(INP, "datavme.VAL")
field(MALM, "36")
field(NELM, "36")
field(INDX, "0")
field(FLNK, "vmehex1")
}
It gives correct output :
data1 36 53 51 -2 -19 127 -1 50 50 50 50 50 50 50 50 50 50 50 50 50 50 65 50 80 -14 50 64 70 -48 50 50 50 50 50 50 50 50.
But for second subArray of 36 bytes what should I give values of MALM, NELM and INDX so that i can get next 36 bytes from waveform record.