# null

[Open topic with navigation](../../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/J1939/GBT27930InteractionLayer/Functions/CAPLfunctionGBT27930ILSetSignal.md)

## CAPL Functions » J1939 » GB/T 27930 IL » GBT27930IL\_SetSignal

### GBT27930IL\_SetSignal

[Feature availability for your product](../../../../Shared/FeatureAvailability.md): 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](../../../../CANoeCANalyzer/J1939/j1939IL/j1939ILConfigureDB.md).
* **value**: physical value
* **node**: Simulation node to apply the function

### Return Values

* **0**: success
* **\< 0**: [IL Error Code](../../../CAPLfunctionsISOj1939ErrorCodes.md)

### Example

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