Skip to main content
Open topic with navigation

CAPL Functions » J1939 » GB/T 27930 IL » GBT27930IL_SetSignal

GBT27930IL_SetSignal

Feature availability for your product: Valid for CANoe DE • CANoe4SW DE

Function Syntax

  • long GBT27930IL_SetSignal(dbSignal signal, double value ); // form 1
  • long GBT27930IL_SetSignal(dbNode node, dbSignal signal, double value ); // form 2

Description

Sets the signal to the specified physical value. The message of the signal is sent according to the configured send type.

Parameters

  • signal: signal name from database. The signal must be assigned to the node as Tx signal.
  • value: physical value
  • node: Simulation node to apply the function

Return Values

Example

on key 't'
{
    GBT27930IL_SetSignal(EEC1::EngSpeed, 1200.0);
}