Skip to main contentChkCreate_MostPropertyProtocolError, ChkStart_MostPropertyProtocolError
Valid for: CANoe DE
Function Syntax
dword ChkCreate_MostPropertyProtocolError(char[] aProperty, int aInstanceID, unsigned long aAnswerTimeout, Callback aCallback);
dword ChkStart_MostPropertyProtocolError(char[] aProperty, int aInstanceID, unsigned long aAnswerTimeout, Callback aCallback);
dword ChkCreate_MostPropertyProtocolError(char[] aProperty, unsigned long aAnswerTimeout, Callback aCallback);
dword ChkStart_MostPropertyProtocolError(char[] aProperty, unsigned long aAnswerTimeout, Callback aCallback);
dword ChkCreate_MostPropertyProtocolError(char[] aProperty, int aInstanceID, Callback aCallback);
dword ChkStart_MostPropertyProtocolError(char[] aProperty, int aInstanceID, Callback aCallback);
dword ChkCreate_MostPropertyProtocolError(char[] aProperty, Callback aCallback);
dword ChkStart_MostPropertyProtocolError(char[] aProperty, Callback aCallback);
dword ChkCreate_MostPropertyProtocolError(char[] aProperty, int aInstanceID, unsigned long aAnswerTimeout);
dword ChkStart_MostPropertyProtocolError(char[] aProperty, int aInstanceID, unsigned long aAnswerTimeout);
dword ChkCreate_MostPropertyProtocolError(char[] aProperty, unsigned long aAnswerTimeout);
dword ChkStart_MostPropertyProtocolError(char[] aProperty, unsigned long aAnswerTimeout);
dword ChkCreate_MostPropertyProtocolError(char[] aProperty, int aInstanceID);
dword ChkStart_MostPropertyProtocolError(char[] aProperty, int aInstanceID);
dword ChkCreate_MostPropertyProtocolError(char[] aProperty);
dword ChkStart_MostPropertyProtocolError(char[] aProperty);
Constructor
TestCheck::CreateMostPropertyProtocolError(char[] aProperty, int aInstanceID, unsigned long aAnswerTimeout, Callback aCallback);
TestCheck::StartMostPropertyProtocolError(char[] aProperty, int aInstanceID, unsigned long aAnswerTimeout, Callback aCallback);
TestCheck::CreateMostPropertyProtocolError(char[] aProperty, unsigned long aAnswerTimeout, Callback aCallback);
TestCheck::StartMostPropertyProtocolError(char[] aProperty, unsigned long aAnswerTimeout, Callback aCallback);
TestCheck::CreateMostPropertyProtocolError(char[] aProperty, int aInstanceID, Callback aCallback);
TestCheck::StartMostPropertyProtocolError(char[] aProperty, int aInstanceID, Callback aCallback);
TestCheck::CreateMostPropertyProtocolError(char[] aProperty, Callback aCallback);
TestCheck::StartMostPropertyProtocolError(char[] aProperty, Callback aCallback);
TestCheck::CreateMostPropertyProtocolError(char[] aProperty, int aInstanceID, unsigned long aAnswerTimeout);
TestCheck::StartMostPropertyProtocolError(char[] aProperty, int aInstanceID, unsigned long aAnswerTimeout);
TestCheck::CreateMostPropertyProtocolError(char[] aProperty, unsigned long aAnswerTimeout);
TestCheck::StartMostPropertyProtocolError(char[] aProperty, unsigned long aAnswerTimeout);
TestCheck::CreateMostPropertyProtocolError(char[] aProperty, int aInstanceID);
TestCheck::StartMostPropertyProtocolError(char[] aProperty, int aInstanceID);
TestCheck::CreateMostPropertyProtocolError(char[] aProperty);
TestCheck::StartMostPropertyProtocolError(char[] aProperty);
Check Name
MOST Property Protocol Observation (Check Description)
Description
This check monitors MOST protocol compliance for a given property. This includes monitoring the response times along with the allowable message sequences.
Note: Consider to set always the appropriate bus context in a multibus environment before the function is called. Further information on site MultiBus Environment.
Parameters
- aProperty: Name of the property to be monitored in one of the following formats:
- FBlock.InstanceId.Function
- FBlock.Function
- aInstanceID: InstanceID of the property to be monitored
- aAnswerTimeout: Maximum response time [ms], within which a response message for a request message is expected. Signatures that these parameters do not provide, assume the minimum standard value tWaitForProperty = 250 ms as response time (see MOST specification 2.4).
- aCallback: Name of the callback function, which should be called as soon as a protocol violation is detected. In simulation nodes this parameter has to be set. In test modules this parameter is optional.
Return Values
- 0: Check could not be created and must not be referenced
- > 0: Check was created successfully and may be referenced using the returned (handle-) value
Possible Errors
- CAPL callback does not exist.
Check-specific Queries
Example
—
Functions to Configure Checks • Commands to Control Checks