I am trying to save the signal data in the each my of a CAN message in separate variables. For eg. I have a CAN message 'msg1' of dlc =4, with signals {8, 5, 7, 21} in CANalyzer's CAPL, I would like to save them in variables like: int var1 = msg1.byte(0); but I keep getting zero (0) as the final value of the variable after the operation.
Any help is much appreciated. Thanks