Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » File Server Interaction Layer (FS IL) » FSIL_SetMsgRawData

FSIL_SetMsgRawData

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long FSIL_SetMsgRawData( dbMsg msg, long dataSize, byte data[] ); // form 1
long FSIL_SetMsgRawData( dbNode fs,  dbMsg msg, long dataSize, char data[] ); // form 2

Description

Sets the data bytes of the message. The length of the parameter group is adjusted to size of parameter dataSize.

Parameters

  • msg: message name from database, must be assigned to the node as Tx message
  • dataSize: number of data bytes
  • data: data bytes
  • pgData: data and DLC are taken from this parameter group
  • fs: FS simulation node to apply the function

Return Values

  • 0: Function has been executed successfully
  • < 0: An error has occurred, see IL Error Code

Example