TestCheck::CreateFlexRayFrameErrorOccurrenceCount, TestCheck::StartFlexRayFrameErrorOccurrenceCount, TestCheck::CreateNodeFlexRayFrameErrorsOccurrenceCount, TestCheck::StartNodeFlexRayFrameErrorsOccurrenceCount
Valid for: CANoe DE • CANoe4SW DEConstructor
TestCheck::CreateFlexRayFrameErrorOccurrenceCount (dword slotID, dword cycleOffs, dword cycleRep, dword channelMask, dword aMaxCount, char[] aCaplCallbackFunction);TestCheck::StartFlexRayFrameErrorOccurrenceCount (dword slotID, dword cycleOffs, dword cycleRep, dword channelMask, dword aMaxCount, char[] aCaplCallbackFunction);TestCheck::CreateFlexRayFrameErrorOccurrenceCount (dword slotID, dword cycleOffs, dword cycleRep, dword channelMask, dword aMaxCount);TestCheck::StartFlexRayFrameErrorOccurrenceCount (dword slotID, dword cycleOffs, dword cycleRep, dword channelMask, dword aMaxCount);TestCheck::CreateFlexRayFrameErrorOccurrenceCount (dbMsg aMessage, dword aMaxCount, char[] aCaplCallbackFunction);TestCheck::StartFlexRayFrameErrorOccurrenceCount (dbMsg aMessage, dword aMaxCount, char[] aCaplCallbackFunction);TestCheck::CreateFlexRayFrameErrorOccurrenceCount (dbMsg aMessage, dword aMaxCount);TestCheck::StartFlexRayFrameErrorOccurrenceCount (dbMsg aMessage, dword aMaxCount);TestCheck::CreateNodeFlexRayFrameErrorsOccurrenceCount (Node aNode, dword aMaxCount, char[] aCaplCallbackFunction);TestCheck::StartNodeFlexRayFrameErrorsOccurrenceCount (Node aNode, dword aMaxCount, char[] aCaplCallbackFunction);TestCheck::CreateNodeFlexRayFrameErrorsOccurrenceCount (Node aNode, dword aMaxCount);TestCheck::StartNodeFlexRayFrameErrorsOccurrenceCount (Node aNode, dword aMaxCount);
Check Name
Absence of FlexRay Erroneous Frames (Check Description)Description
Checks the absence of erroneous frames for the specified frame/slot on the bus. An event is created if more than aMaxCount of the specified erroneous frames were sent. If a DB node is used as reference, then all its Tx frames are observed. The numerical functions allow to define a wildcard event by setting slotID = -1, cycleOffs = 0, cycleRep = 1 in order to check for the absence of any FlexRay Erroneous Frame. 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
- slotID: This number designates a specific FlexRay slot. Its value must be between 1 and 2047.
- cycleOffs: This number designates the base cycle. This value must be smaller than the repetition factor and lies in the range between 0 and 63. This value, together with the repetition factor, determines the “Cycle Multiplexing” of a FlexRay frame.
- cycleRep: This number designates the cycle repetition factor. The value must be between 1 and 64 and be a multiple of 2 (e.g. 1, 2, 4, 8, 16, 32 or 64). This value, together with the base cycle, determines the “Cycle Multiplexing” of a FlexRay frame.
- channelMask: Identifies the FlexRay channel of the communication controller. A value of 1 will check the frame on channel A, 2 will check it on channel B and 3 on any channel (A/B).
- aNode: The node from the DB whose Tx messages should be observed.
- aMaxCount: The maximum number of message that may be sent without the check to fail.
- aMessage: The message in symbolic form, e.g.: “EngineData”, whose occurrence is to be monitored. Message must exist in database.
- aCaplCallbackFunction: This parameter must be specified in simulation nodes; it is optional in test modules.