CAPL Script

FDXSetByteOrder

This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.

Syntax

long FDXSetByteOrder(long fdxClientHandle, long byteOrder);

Function

This function configures the byte order of the FDX protocol that should be used for the communication with the specified client. The default is Little Endian.

Parameters

fdxClientHandle FDX client for which the byte order should be set.

byteOrder

  • 1: Little Endian
  • 2: Big Endian

Return Values

0: Successful function call

-1: The parameterfdxClientHandleis invalid.

-1: The parameterbyteOrderis invalid.

Coupling of two CANoe Instances using the FDX Protocol