Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_PDDSetValueRaw, Iso11783IL_PDDSetValuePhysical

Iso11783IL_PDDSetValueRaw, Iso11783IL_PDDSetValuePhysical

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long Iso11783IL_PDDSetValueRaw(dword ddi, dword elementNumber, long value); // form 1
  • long Iso11783IL_PDDSetValueRaw(dbNode implement, dword ddi, dword elementNumber, long value); // form 2
  • long Iso11783IL_PDDSetValuePhysical(dword ddi, dword elementNumber, double value); //form 3
  • long Iso11783IL_PDDSetValuePhysical(dbNode implement, dword ddi, dword elementNumber, double value); // form 4

Description

Sets the value of a data entity (process variable) without sending any command.

Parameters

  • ddi: Data Dictionary Identifier, 0x0000.0xFFFF
  • elementNumber: Element number, 0x000.0xFFF
  • value: New value of the data entity (process variable)
  • implement: Task Controller simulation node to apply the function.

Return Values

  • 0: function has been executed successfully
  • < 0: an error has occurred, see error codes

Example

Example form 2
SetActualAppRateUsingRawValue()
{
  // section 1: elementNumber = 3
  Iso11783IL_PDDSetValueRaw(Sprayer, 37, 3, 13360);
  // section 2: elementNumber = 4
  Iso11783IL_PDDSetValueRaw(Sprayer, 37, 4, 13950);
}
Example form 4
SetActualAppRateUsingRawValue()
{
  // section 1: elementNumber = 3
  Iso11783IL_PDDSetValuePhysical(Sprayer, 37, 3, 13.360);
  // section 2: elementNumber = 4
  Iso11783IL_PDDSetValuePhysical(Sprayer, 37, 4, 13.950);
}
Iso11783IL_PDDGetValueRaw, Iso11783IL_PDDGetValuePhysical