Iso11783IL_PDDValueCommand, Iso11783IL_PDDValueCommandRaw, Iso11783IL_PDDValueCommandPhysical
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long Iso11783IL_PDD ValueCommand (dword ddi, dword elementNumber); //form 1long Iso11783IL_PDD ValueCommand(dbNode implement, dword ddi, dword elementNumber); //form 2long Iso11783IL_PDD ValueCommandRaw(dword ddi, dword elementNumber, long value); //form 3long Iso11783IL_PDD ValueCommandRaw(dbNode implement, dword ddi, dword elementNumber, long value); //form 4long Iso11783IL_PDD ValueCommandPhysical(dword ddi, dword elementNumber, double value); //form 5long Iso11783IL_PDD ValueCommandPhysical(dbNode implement, dword ddi, dword elementNumber, double value); //form 6
Description
Form (1) and (2) send the current value of the specified data entity to the Task Controller with Value command. It can be used to send to the Task Controller the previously set Compressed State DDIs (using Iso11783IL_PDDSetValueRaw or Iso11783IL_PDDSetValuePhysical). Form (3)-(6) set the value to the specified data entity (if exists) and sends the value to the Task Controller with Value 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