TestGetWaitLinCSErrorData
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long TestGetWaitLinCSErrorData (linCSError apEvent); // form 1long TestGetWaitLinCSErrorData (dword index, linCSError apEvent); // form 2
Description
Retrieves the data of a checksum error triggered by the last wait instruction. The second function can only be used for “joined events”. The number of the “joined event” (return value of “testJoin…”) is here being used as an index.Parameters
- apEvent: Data structure with the checksum error data.
- index: Number of the “joined event” corresponds with the return value of “testJoin…”.
Return Values
- 0: Data access was successful
- -1: Data access failed – the last wait function was not triggered by a checksum error