Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_PDDGetValueRaw, Iso11783IL_PDDGetValuePhysical

Iso11783IL_PDDGetValueRaw, Iso11783IL_PDDGetValuePhysical

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long Iso11783IL_PDDGetValueRaw(dword ddi, dword elementNumber, long& value); // form 1
  • long Iso11783IL_PDDGetValueRaw(dbNode implement, dword ddi, dword elementNumber, long& value); // form 2
  • long Iso11783IL_PDDGetValuePhysical(dword ddi, dword elementNumber, double& value); //form 3
  • long Iso11783IL_PDDGetValuePhysical(dbNode implement, dword ddi, dword elementNumber, double& value); // form 4

Description

Gets 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: Returns the value of the data entity (process variable).
  • implement: 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
double currentValue;
long result;
result = Iso11783IL_PDDGetValuePhysical(120, 2, currentValue);
Iso11783IL_PDDSetValueRaw, Iso11783IL_PDDSetValuePhysical