TCIL_ValueAndAckCommand, TCIL_ValueAndAckCommandRaw, TCIL_ValueAndAckCommandPhysical
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long TCIL_ValueAndAckCommand(dbNode client, dword ddi, dword elementNumber); // form 1long TCIL_ValueAndAckCommand(dword addressClient, dword ddi, dword elementNumber); // form 2long TCIL_ValueAndAckCommand(dbNode tc, dbNode client, dword ddi, dword elementNumber); // form 3long TCIL_ValueAndAckCommand(dbNode tc, dword addressClient, dword ddi, dword elementNumber); // form 4long TCIL_ValueAndAckCommandRaw(dbNode client, dword ddi, dword elementNumber, long value); // form 5long TCIL_ValueAndAckCommandRaw(dword addressClient, dword ddi, dword elementNumber, long value); // form 6long TCIL_ValueAndAckCommandRaw(dbNode tc, dbNode client, dword ddi, dword elementNumber, long value); // form 7long TCIL_ValueAndAckCommandRaw(dbNode tc, dword addressClient, dword ddi, dword elementNumber, long value); // form 8long TCIL_ValueAndAckCommandPhysical(dbNode client, dword ddi, dword elementNumber, double value); // form 9long TCIL_ValueAndAckCommandPhysical(dword addressClient, dword ddi, dword elementNumber, double value); // form 10long TCIL_ValueAndAckCommandPhysical(dbNode tc, dbNode client, dword ddi, dword elementNumber, double value); // form 11long TCIL_ValueAndAckCommandPhysical(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 Set Value and Acknowledge command. It can be used to send to the client the previously set Compressed State DDIs DDIs (using TCIL_SetValueRaw or TCIL_SetValuePhysical). Form (5)-(12) set the value to the specified data entity and send the value to the client with Set Value and Acknowledge command.Parameters
- tc: Task Controller simulation node to apply the function.
- client: Task Controller client node the TC sends the Set Value and Acknowledge command to.
- addressClient: Address of the Task Controller client node the TC sends the Set Value and Acknowledge 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