coTfsActivateGuardingReqMonitor
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DEFunction Syntax
Description
When this function is called, it is checked whether the DUT (Device Under Test) makes available the remote frame for the guarding within the defined times. For each correct occurrence, the callbackvoid coTfsOnGuardingRTRMsg(dword nodeId) is called. If the time is not adhered to, then the callback void coTfsOnGuardingRTRFail(dword nodeId, dword cause) is called once. After an error has occurred, the callback system is automatically disabled. The reason for the error is specified in the parameter cause:
- 1 = Message distance too small
- 2 = Message distance too large or message is missing
Parameters
- nodeID: Node-ID of the DUT.
- guardTime: Guarding time in us.
- tolerance: Permitted time deviation of the target device in us. It is recommended that you use an even value. The tolerated time frame within which a message is still accepted is:
x - (delta/2) <= x <= x + (delta/2)