Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Node Layer » Iso11783PDDSetValue

Iso11783PDDSetValue

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long Iso11783PDDSetValue( dword ecuHandle, dbSignal signal, dword elementNumber, float alue );
long Iso11783PDDSetValue( dword ecuHandle, dword ddi, dword elementNumber, float value );

Description

Sets the value of a process variable.

Parameters

  • ecuHandle: Handle of the ECU. The handle must previously have been created with Iso11783CreateECU.
  • signal: Signal from the database. The attribute ddi must have been defined for the signal. The signal must be defined in the same database as the node!
  • ddi: Data Dictionary Identifier, 0x0000.0xFFFF
  • elementNumber: Element number, 0x000.0xFFF
  • value: New value of the process variable

Return Values

error code

Example

Iso11783PDDSetValue( Sprayer, 0x200. 3, value );
Iso11783PDDSetValue( Sprayer, 0x200. 4, value );