on diagRequestSent
Valid for: CANoe DE Note The following syntax forms require a defined target ECU by calling diagSetTarget(char ecuQualifier[]) beforehand. When using these forms, no semantic check can be performed at compile-time, so no warnings will be emitted for nonexistent diagRequests.- form 1
- form 2
- form 3
- form 4
Function Syntax
on diagRequestSent
Description
The procedure is sub-divided into the following events; the first matching event procedure (top-down) is called:-
on diagRequestSent <service>// form 1- Is called when a request is sent completely in the Tester simulation that belongs to the indicated diagnostic service.
-
*on diagRequestSent <class>::*// form 2- Is called when the service of the sent request belongs to the specified class.
-
on diagRequestSent *// form 3- Is called when no other event procedure matches.
- This procedure may therefore be called for several services!
-
on diagRequestSent ECU.<service>// form 4- Is called when a request is sent completely in the Tester simulation that belongs to the indicated diagnostic service.
-
*on diagRequestSent ECU.<class>::*// form 5- Is called when the service of the sent request belongs to the specified class.
-
on diagRequestSent ECU.*// form 6- Is called when no other event procedure matches.
- This procedure may therefore be called for several services!