VTIL_CreateAuxAssignment
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long VTIL_CreateAuxAssignment(dbNode auxiliaryFunctionWSM, dbNode auxiliaryInputWSM, word auxiliaryFunctionId, word auxiliaryInputId); // form 1long VTIL_CreateAuxAssignment(dword addressAuxiliaryFunctionWSM, dword addressAuxiliaryInputWSM, word auxiliaryFunctionId, word auxiliaryInputId); // form 2long VTIL_CreateAuxAssignment(dbNode vt, dbNode auxiliaryFunctionWSM, dbNode auxiliaryInputWSM, word auxiliaryFunctionId, word auxiliaryInputId); // form 3long VTIL_CreateAuxAssignment(dbNode vt, dword addressAuxiliaryFunctionWSM, dword addressAuxiliaryInputWSM, word auxiliaryFunctionId, word auxiliaryInputId); // form 4
Description
Assigns an Auxiliary Input to an Auxiliary Function. As a result, the Auxiliary Input Status Type 2 Enable command is sent to the Auxiliary Input (if not already enabled) and the Auxiliary Assignment Type 2 command is sent to the Auxiliary Function Working Set Master.Parameters
- Vt: VT simulation node to apply the function
- auxiliaryFunctionWSM: Working Set Master which provides the Auxiliary Function
- addressAuxiliaryFunctionWSM: Address of the Working Set Master which provides the Auxiliary Function
- auxiliaryInputWSM: Working Set Master which provides the Auxiliary Input
- addressAuxiliaryInputWSM: Address of the Working Set Master which provides the Auxiliary Input
- auxiliaryFunctionId: Object ID of the Auxiliary Function
- auxiliaryInputId: Object ID of the Auxiliary Input
Return Values
- 0: Function has been executed successfully
- < 0: An error has occurred, see IL Error Code