ChkCreate_J1939_76_FunctionalSafetyCheck
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
dword ChkCreate_J1939_76_FunctionalSafetyCheck(Node producerNode, char[] callback1);dword ChkCreate_J1939_76_FunctionalSafetyCheck(unsigned long producerAddress, char[] callback1);dword ChkStart_J1939_76_FunctionalSafetyCheck(Node producerNode, char[] callback1);dword ChkStart_J1939_76_FunctionalSafetyCheck(unsigned long producerAddress, char[] callback1);
Constructor
ConstructorTestCheck::Create_J1939_76_FunctionalSafetyCheck(Node producerNode, char[] callback2);TestCheck::Create_J1939_76_FunctionalSafetyCheck(unsigned long producerAddress, char[] callback2);
Description
Observes the J1939-76 functional safety communication according to J1939-76. It is possible to observe all nodes or only a specific node. During the check, the following verifications are made:- Consecutive sequence numbers of the SHM.
- Validation of the CRC of the SHM on receipt of the associated SDM.
- Missing or too late SDM after a SHM.
- Missing SHM before an SDM.
- Compliance with SRVTMaximum (calculation as described above).
Parameters
- producerNode: Producer node from database.
- producerAddress: Address of the producer ECU.
- Possible values:
- 0 – 253: Observe the J1939-76 communication of the ECU with this address
- 254, -1 (or 0xFFFFFFFF): Observe the J1939-76 communication of all ECUs
- Possible values:
- callback1: This parameter is optional.
- Name of the callback which is called when the check fails.
- Signature:
void Callback( dword checkId )
- callback2: This parameter is optional.
- Name of the callback which is called when the check fails.
- Signature:
void Callback( TestCheck check )
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.