Skip to main content

TestFRILEnableTimingEvtTrg

Valid for: CANoe DE • CANoe4SW DE Note: This function is not available for all OEM add-ons - depends on the CANoeIL.

Function Syntax

long TestFRILEnableTimingEvtTrg(char pduName[], int enable);

Description

Controls the event triggered timing of PDUs. The event triggered timing can be enabled/disabled. This function influences a simulation node with an assigned CANoe Interaction Layer. 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

  • aPDUName: Name of the PDU that should be modified.
  • enable:
    • 0 = disable
    • 1 = enable

Return Values

  • 0: No error.
  • -1: General error.

Example

int enable;
.....
If( stopEvtSending == 1 )
{
   enable = 0;
}
else
{
   enable = 1;
}
TestFRILEnableTimingEvtTrg (pduXY, enable);
.....
OEM Add-on Based Fault Injection Functions