TestGetWaitEventMostMsgData
Valid for: CANoe DEFunction Syntax
long TestGetWaitEventMostMsgData (mostMessage aMessage); // form 1long TestGetWaitEventMostMsgData (dword index, mostMessage aMessage); // form 2
Description
If the last event was a MOST message (MOST control message or MOST spy message) that resolved a wait construction, with the first function the content of the message can be called. 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
- aMessage: Message variable that should be filled in with this function.
- index: Number of the “joined event” corresponds with the return value of “testJoin…”.
Return Values
- 0: Successful data access.
- -1: Data access cannot be executed, the last event was no message event.