TCIL_ValueCommand, TCIL_ValueCommandRaw, TCIL_ValueCommandPhysical
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long TCIL_ValueCommand(dbNode client, dword ddi, dword elementNumber); // form 1long TCIL_ValueCommand(dword addressClient, dword ddi, dword elementNumber); // form 2long TCIL_ValueCommand(dbNode tc, dbNode client, dword ddi, dword elementNumber); // form 3long TCIL_ValueCommand(dbNode tc, dword addressClient, dword ddi, dword elementNumber); // form 4long TCIL_ValueCommandRaw(dbNode client, dword ddi, dword elementNumber, long value); // form 5long TCIL_ValueCommandRaw(dword addressClient, dword ddi, dword elementNumber, long value); // form 6long TCIL_ValueCommandRaw(dbNode tc, dbNode client, dword ddi, dword elementNumber, long value); // form 7long TCIL_ValueCommandRaw(dbNode tc, dword addressClient, dword ddi, dword elementNumber, long value); // form 8long TCIL_ValueCommandPhysical(dbNode client, dword ddi, dword elementNumber, double value); // form 9long TCIL_ValueCommandPhysical(dword addressClient, dword ddi, dword elementNumber, double value); // form 10long TCIL_ValueCommandPhysical(dbNode tc, dbNode client, dword ddi, dword elementNumber, double value); // form 11long TCIL_ValueCommandPhysical(dbNode tc, dword addressClient, dword ddi, dword elementNumber, double value); // form 12
Description
Form (1) and (3) send the current value of the specified data entity to the client with Value command. It can be used to send to the client the previously set Compressed State DDIs (using TCIL_SetValueRaw or TCIL_SetValuePhysical). Form (5)-(12) set the value to the specified data entity (if exists) and sends the value to the client with Value command.Parameters
- tc: Task Controller simulation node to apply the function.
- client: Task Controller client node the TC sends the Value command to.
- addressClient: Address of the Task Controller client node the TC sends the Value command to.
- elementNumber: Element number, 0x000..0xFFF.
- ddi: Data dictionary identifier, 0x0000..0xFFFF.
- value: New value of the data entity.
Return Values
- 0: Function has been executed successfully
- < 0: An error has occurred, see IL Error Code