Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » Task Controller Interaction Layer (TC IL) » TCIL_GetValuePresentationData

TCIL_GetValuePresentationData

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

Returns all properties (id, offset, scale, numberDecimals, designator) of the ValuePresentation object referenced by the DeviceProcessData (DPD) or DeviceProperty (DPT) object defined by DDI/elementNumber. Form 5 and 6 applicable in test module / test unit only.

Parameters

  • tc: TC simulation node to apply the function.
  • client: TC client node the data entity belongs to.
  • addressClient: Address of the TC client node the data entity belongs to.
  • ddi: Data dictionary identifier of DPD/DPT object, 0x0000..0xFFFF.
  • elementNumber: Element number of DPD/DPT object, 0x000..0xFFF.
  • idOfDVP: ID of the referenced DVP object. 0xFF means no DVP object is referenced.
  • offset: Property offset of the referenced DVP object.
  • scale: Property scale of the referenced DVP object.
  • numberOfDecimals: Property numberOfDecimals of the referenced DVP object.
  • designatorBufferSize: Size of the return buffer.
  • designatorBuffer: Return buffer. Contains the designator of the DVP objects as a string.

Return Values

  • 0: Property has been set successfully
  • < 0: An error has occurred: IL Error Code

Example

Example form 5