linGetResponseData
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
Queries LIN frame response data for specified FrameId on certain LIN channel. The FrameId and desired LIN channel number are expected to be set in the LIN frame prior to calling this function. The frame length, databyte, and checksum byte values will be copied into corresponding fields of LIN frame object. Note, that in the case there is no response data for the specified FrameId no data is copied.Parameters
- frameObject: The data structure to be filled in. Note, that the following selectors have to be set prior to calling this function:
- ID
- MsgChannel
Return Values
- Non-zero on success.
- Zero on failure or when there is no response data defined.
- The non-zero value in real mode is the initial and in simulated mode the actual response counter value.