CAPL Script

FDXEnableFreeRunningMode

Syntax

long FDXEnableFreeRunningMode(long fdxClientHandle, word groupID, word flags, dword cycleTime, dowrd firstDuration);

Function

This function activates theFree Runningmode for the specified FDX client. The behavior of the function corresponds to the reception of aFreeRunningRequestcommand via theCANoeFDX protocol. You can find further information about theFree Runningmode in the manualCANoe_FDX_Protocol_EN.pdf.

Parameters

fdxClientHandle FDX client for which theFree Runningmode should be activated.

groupID

Identifies the data group inside the FDX description file.

flags

  • 1 : Transmits data group at pre start phase of the CANoe measurement
  • 2 : Transmits data group at stop of measurement
  • 4 : Transmits the data group cyclically while the measurement is running. The transmit cycle is defined by the fieldscycleTimeandfirstDuration.
  • 8 : Transmits the data group if the functionFDXTriggerDataGroupis called.

cycleTime

Time period in nanoseconds for the free running mode.

firstDuration

Time interval in nanoseconds for the first transmit cycle.

Return Values

0: Successful function call

-1: The parameterfdxClientHandleis invalid.

Coupling of two CANoe Instances using the FDX Protocol