Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Open topic with navigation CAPL Functions » ISO11783 » Task Controller Interaction Layer (TC IL) » TCIL_SetMsgEvent

TCIL_SetMsgEvent

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long TCIL_SetMsgEvent( dbMsg msg ); // form 1
  • long TCIL_SetMsgEvent( dbNode tc, dbMsg msg ); // form 2

Description

The message is sent immediately, the send type is ignored. The TC 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 TCIL_SetSignal or TCIL_SetSignalRaw can be used.

Parameters

  • msg: Message name from database. The message must be a Tx message of the node.
  • tc: TC simulation node to apply the function.

Return Values

Example

on key 'i'
{
    TCIL_SetMsgEvent( ICC_TC );
}