TCIL_GetDesignator
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long TCIL_GetDesignator(dbNode client, dword ddi, dword elementNumber, dword unitDesignatorBufferSize, char unitDesignatorBuffer[]); // form 1: deprecated with 13long TCIL_GetDesignator(dbNode client, dword ddi, dword elementNumber, char unitDesignatorBuffer[]); // form 2long TCIL_GetDesignator(dword addresClient, dword ddi, dword elementNumber, char unitDesignatorBuffer[]); // form 3long TCIL_GetDesignator(dbNode tc, dbNode client, dword ddi, dword elementNumber, dword unitDesignatorBufferSize, char unitDesignatorBuffer[]); // form 4: deprecated with 13long TCIL_GetDesignator(dbNode tc, dbNode client, dword ddi, dword elementNumber, char unitDesignatorBuffer[]); // form 5long TCIL_GetDesignator(dbNode tc, dword addresClient, dword ddi, dword elementNumber, char unitDesignatorBuffer[]); // form 6
Description
Returns the designator of 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: TC client node the data entity belongs to.
- ddi: Data dictionary identifier, 0x0000..0xFFFF.
- elementNumber: Element number, 0x000..0xFFF.
- unitDesignatorBufferSize: Size of the return buffer.
- unitDesignatorBuffer: Return buffer. Contains the designator as a string.
Return Values
- 0: Function has been executed successfully
- < 0: An error has occurred, see IL Error Code