0

CAN frame update indicator

Ali Idrici 7 months ago in IQANdesign updated by Gustav Widén (System support) 7 months ago 1

At a given cycle time, is it possible to determine if a J1939 CAN frame has just been received? I am aware CAN frame blocks return a boolean indicating if their frame is new or not. However I believe this only works if the CAN frame has an enabled time out. Is it possible not to have a time out and still be able to determine if a CAN frame is new or not?

My goal is to not implement a time out, yet still be able to distinguish a CAN frame that has not been updated for a while from a CAN frame that is continuously being updated with identical values.

Thanks,

The value on the GFIN and JFIN will be true in the application cycle where a new frame has been received. 

There is no need to set a timeout on the GFIN/JFIN for this to work. It can be a bit confusing when simulating, in IQANsimulate the value of the timeout property is used to simulate this behavior.