> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionTestILSetNodeProperty

# testILSetNodeProperty

**Valid for**: CANoe DE • CANoe4SW DE

## Function Syntax

```c theme={null}
long testILSetNodeProperty( dbNode node, char propertyName[], long propertyValue);
```

## Description

Changes an internal property of the specified node.

**Note**: Dependent on the used parameter type, the appropriate bus context in a multibus environment has only to be set before the function is called if the corresponding database object will be ambiguous. Further information on site [MultiBus Environment](../../../Shared/CAPL/General/TestMultiBusEnvironment.md).

## Parameters

* **node**: Node name as defined in the database.

* **propertyName**: These properties influence the behavior of the simulated node in the ISO11783 Network - e.g., the transfer of the transport protocol or parts of **DeviceName**.

  * **FP\_Interval**: Defines delay (in ms) when sending each FP packet (for Fast Packet transmitting).\
    **Value Range**: 0..3600000\
    **Initial Value**: 0 ms

  * **BAM\_DT\_Interval**: Defines the interval time (in ms) between each TP DT packet (for BAM transmitting).\
    **Value Range**: 1..3600000\
    **Initial Value**: 50 ms

  * **FD\_BAM\_Interval**: CAN FD only: Defines the interval time (in ms) between each TP DT packet and the final TP.CM\_EndOfMsgStatus (for FD BAM transmitting).\
    **Value Range**: 1..3600000\
    **Initial Value**: 10 ms

  * **CTSLatency**: Defines the interval time (in ms) between the TP.CM\_RTS and TP.CM\_CTS (for the receiver of the CMDT transmitting).\
    **Value Range**: 1..3600000\
    **Initial Value**: 0 ms

  * **EoMALatency**: Defines the interval time (in ms) between the last TP.DT and TP.CM\_EndOfMsgACK (for the receiver of the CMDT transmitting).\
    **Value Range**: 1..3600000\
    **Initial Value**: 0 ms

  * **AbortLatency**: Defines delay (in ms) for sending the TP.Conn\_Abort message (for both the sender and the receiver of the CMDT transmission).\
    **Value Range**: 1..3600000\
    **Initial Value**: 0 ms

  * **TPDTLatency**: Defines delay (in ms) when sending each TP.DT message (for the transmitter of the CMDT transmitting).\
    **Value Range**: 1..3600000\
    **Initial Value**: 0 ms

  * **EoMSLatency**: CAN FD only: Defines the interval time (in ms) between the last FD.TP.DT and FD.TP.CM\_EndOfMsgStatus (for the sender of the CMDT transmitting).\
    **Value Range**: 1..3600000\
    **Initial Value**: 0 ms

  * **Max\_Transport\_Size**: Maximum number of bytes, which can be transferred.\
    **Value Range**: 9..117440505\
    **Initial Value**: 100 MByte

  * **Packets\_Per\_CTS**: Number of packets, which are requested by CTS.\
    **Value Range**: 1..255\
    **Initial Value**: 16

  * **Packets\_Per\_RTS**: Number of packets, which is used with RTS.\
    **Value Range**: 1..255\
    **Initial Value**: 255

  * **Packets\_Per\_Sequence\_Ex**: Number of packets, which are requested by ECTS (Extended TP).\
    **Value Range**: 1..255\
    **Initial Value**: 64

  * **BAM\_with\_Destination**: Target address, which is used for BAM.\
    **Value Range**: 0..1\
    **Initial Value**: 0

  * **Max\_Number\_Of\_Requested\_Retransmissions**: Maximal number of retransmission that the interaction layer supports.\
    **Value Range**: 1..100000\
    **Initial Value**: 2

  * **TP\_Priority**: Priority used by the transport protocol.\
    **Value Range**: 0..7\
    **Initial Value**: 7

  * **AAC**: **Arbitrary Address Capable** field of J1939 NAME\
    **Value Range**: 0..1\
    **Initial Value**: Content of the database node attribute **NmJ1939AAC**

  * **IndustryGroup**: **Industry Group** field of J1939 NAME\
    **Value Range**: 0..7\
    **Initial Value**: Content of the database node attribute **NmJ1939IndustryGroup**

  * **VehicleSystemInstance**: **Vehicle System Instance** field of J1939 NAME\
    **Value Range**: 0..15\
    **Initial Value**: Content of the database node attribute **NmJ1939SystemInstance**

  * **VehicleSystem**: **Vehicle System** field of J1939 NAME\
    **Value Range**: 0..127\
    **Initial Value**: Content of the database node attribute **NmJ1939System**

  * **Function**: **Function** field of J1939 NAME\
    **Value Range**: 0..255\
    **Initial Value**: Content of the database node attribute **NmJ1939Function**

  * **FunctionInstance**: **Function Instance** field of J1939 NAME\
    **Value Range**: 0..31\
    **Initial Value**: Content of the database node attribute **NmJ1939FunctionInstance**

  * **ECUInstance**: **ECU Instance** field of J1939 NAME\
    **Value Range**: 0..7\
    **Initial Value**: Content of the database node attribute **NmJ1939ECUInstance**

  * **ManufacturerCode**: **Manufacturer Code** field of J1939 NAME\
    **Value Range**: 0..2047\
    **Initial Value**: Content of the database node attribute **NmJ1939ManufacturerCode**

  * **IdentityNumber**: **Identity Number** field of J1939 NAME\
    **Value Range**: 0..2097151\
    **Initial Value**: Content of the database node attribute **NmJ1939IdentityNumber**

  * **AddressClaimSupport**: **Type of [Address Claim support](../../../Shared/ISO11783/J1939andISO11783NMil.md)**\
    **Value Range**: 0..2\
    **Initial Value**: 0

* **propertyValue**: New value for the property.

## Return Values

* **0**: Property has been set successfully
* **\< 0**: An error has occurred, see [error codes](../../CAPLfunctionsISOj1939ErrorCodes.md)

## Example

```c theme={null}
if(testILSetNodeProperty(EBS, "BAM_DT_Interval", 100) < 0)
{
  write( "Can’t set node property ‘BAM_DT_Interval‘ " );
}
```
