ChkCreate_MsgSignalValueInvalid, ChkStart_MsgSignalValueInvalid
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
dword ChkCreate_MsgSignalValueInvalid (Signal aObservedSignal, double aMinValue, double aMaxValue, char [] aCallback)// form 1dword ChkStart_MsgSignalValueInvalid (Signal aObservedSignal, double aMinValue, double aMaxValue, char [] aCallback)// form 2dword ChkCreate_MsgSignalValueInvalid (char aMessageName[], char aSignalName[], double aMinValue, double aMaxValue, char [] aCallback)// form 3dword ChkStart_MsgSignalValueInvalid (char aMessageName[], char aSignalName[], double aMinValue, double aMaxValue, char [] aCallback)// form 4dword ChkCreate_MsgSignalValueInvalid (EnvVarName, double aMinValue, double aMaxValue, char [] aCallback)// form 5dword ChkStart_MsgSignalValueInvalid (EnvVarName, double aMinValue, double aMaxValue, char [] aCallback)// form 6dword ChkCreate_MsgSignalValueInvalid (sysVar aSysVar, double aMinValue, double aMaxValue, char [] aCallback)// form 7dword ChkStart_MsgSignalValueInvalid (sysVar aSysVar, double aMinValue, double aMaxValue, char [] aCallback)// form 8dword ChkCreate_MsgSignalValueInvalid (sysVar aSysVar, int64 aMinValue, int64 aMaxValue, char [] aCallback)// form 9dword ChkStart_MsgSignalValueInvalid (sysVar aSysVar, int64 aMin-Value, int64 aMaxValue, char [] aCallback)// form 10dword ChkCreate_MsgSignalValueInvalid (valueHandle* doValue, double aMinValue, double aMaxValue, char [] aCallback); // form 11dword ChkStart_MsgSignalValueInvalid (valueHandle* doValue, double aMinValue, double aMaxValue, char [] aCallback); // form 12dword ChkCreate_MsgSignalValueInvalid (valueHandle* doValue, int64 aMinValue, int64 aMaxValue, char [] aCallback); // form 13dword ChkStart_MsgSignalValueInvalid (valueHandle* doValue, int64 aMinValue, int64 aMaxValue, char [] aCallback); // form 14dword ChkCreate_MsgSignalValueInvalid (valueHandle* doValue, double aMinValue, double aMaxValue, functionPointer Callback); // form 15dword ChkStart_MsgSignalValueInvalid (valueHandle* doValue, double aMinValue, double aMaxValue, functionPointer Callback); // form 16dword ChkCreate_MsgSignalValueInvalid (valueHandle* doValue, int64 aMinValue, int64 aMaxValue, functionPointer Callback); // form 17dword ChkStart_MsgSignalValueInvalid (valueHandle* doValue, int64 aMinValue, int64 aMaxValue, functionPointer Callback); // form 18
Constructor
TestCheck::CreateMsgSignalValueInvalid (Signal aObservedSignal, double aMinValue, double aMaxValue, char [] aCallback); // form 1TestCheck::StartMsgSignalValueInvalid (Signal aObservedSignal, double aMinValue, double aMaxValue, char [] aCallback); // form 2TestCheck::CreateMsgSignalValueInvalid (char aMessageName[], char aSignalNamel[], double aMinValue, double aMaxValue, char [] aCallback); // form 3TestCheck::StartMsgSignalValueInvalid (char aMessageName[], char aSignalName[], double aMinValue, double aMaxValue, char [] aCallback); // form 4TestCheck::CreateMsgSignalValueInvalid (EnvVarName, double aMinValue, double aMaxValue, char [] aCallback); // form 5TestCheck::StartMsgSignalValueInvalid (EnvVarName, double aMinValue, double aMaxValue, char [] aCallback); // form 6TestCheck::CreateMsgSignalValueInvalid (sysVar aSysVar, double aMinValue, double aMaxValue, char [] aCallback); // form 7TestCheck::StartMsgSignalValueInvalid (sysVar aSysVar, double aMinValue, double aMaxValue, char [] aCallback); // form 8TestCheck::CreateMsgSignalValueInvalid (sysVar aSysVar, int64 aMinValue, int64 aMaxValue, char [] aCallback); // form 9TestCheck::StartMsgSignalValueInvalid (sysVar aSysVar, int64 aMin-Value, int64 aMaxValue, char [] aCallback); // form 10TestCheck::CreateMsgSignalValueInvalid (valueHandle* doValue, double aMinValue, double aMaxValue, Callback aCallback); // form 11TestCheck::StartMsgSignalValueInvalid (valueHandle* doValue, double aMinValue, double aMaxValue, Callback aCallback); // form 12TestCheck::CreateMsgSignalValueInvalid (valueHandle* doValue, int64 aMinValue, int64 aMaxValue, Callback aCallback); // form 13TestCheck::StartMsgSignalValueInvalid (valueHandle* doValue, int64 aMinValue, int64 aMaxValue, Callback aCallback); // form 14
Check Name
Value ValidDescription
Check the value of a signal, of an environment variable or a system variable. The value should be outside the given value range (inclusive limits). An event will be generated, if the value of the physical signal, the environment variable or the system variable is inside the given value range. Note: Dependent on the used parameter type the appropriate bus context in a multibus environment has only to be set before the function is called if the corresponding database object will be ambiguous. Further information on site MultiBus Environment.Parameters
- aObservedSignal: Name of the signal to be checked. Must exist in DB.
- aMessageName: Name of the message of which the signal should be observed. Must exist in DB.
- aSignalName: Name of the signal to be checked. Must exist in the DB and must be mapped to aMessageName.
- EnvVarName: Environment variable to be checked.
- aSysVar: System variable to be checked.
- doValue: Distributed object member to be checked.
- aMinValue: aMinValue <= aMaxValue
- aMaxValue: aMinValue <= aMaxValue
- aCallback: 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
- Value range(s) exceeded
- Message does not exist in the DB
- Signal is not mapped to message
- CAPL callback does not exist
Check-specific Queries
- ChkQuery_EventMessageId
- ChkQuery_EventMessageName
- ChkQuery_EventSignalValue
- ChkQuery_EventSignalValueMin
- ChkQuery_EventSignalValueMax