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

FSIL_SetMsgEvent

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long FSIL_SetMsgEvent( dbMsg msg ); // form 1
long FSIL_SetMsgEvent( dbNode fs, dbMsg msg ); // form 2

Description

The message is sent immediately, the send type is ignored. The FS IL must be in state active and the message must be assigned to the node as Tx message. To modify signal values prior to message transmission, the CAPL functions FSIL_SetSignal or FSIL_SetSignalRaw can be used.

Parameters

  • msg: Message name from database. The message must be a Tx message of the node.
  • 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

on key 'i'
{
    FSIL_SetMsgEvent( ICC_FS );
}