_CreateIdAreaReceiver (FUN) ¶ FUNCTION _CreateIdAreaReceiver : CAA.HANDLE Unmanaged implementation of CreateIdAreaReceiver InOut: Scope Name Type Comment Return _CreateIdAreaReceiver CAA.HANDLE Input hDriver CAA.HANDLE handle of CAN interface xAlwaysNewest BOOL TRUE: returns only the newest message; FALSE: receiver with queue. eEvent CB.EVENT trigger event when message received xEnableSyncWindow BOOL use SYNC window: not implemented ==> do not care peError POINTER TO ERROR optional pointer to error enum
_CreateMaskReceiver (FUN) ¶ FUNCTION _CreateMaskReceiver : CAA.HANDLE Unmanaged implementation of CreateMaskReceiver InOut: Scope Name Type Comment Return _CreateMaskReceiver CAA.HANDLE new receiver handle or CAA.gc_hINVALID in case of failure Input hDriver CAA.HANDLE handle of CAN interface cobIdValue CL2I.COBID CobID value cobIdMask CL2I.COBID CobID mask xRTRValue BOOL RTR value xRTRMask BOOL RTR mask x29BitIdValue BOOL 29 Bit Id value x29BitIdMask BOOL 29 Bit Id mask xTransmitValue BOOL Transmit message value xTransmitMask BOOL Transmit message mask xAlwaysNewest BOOL TRUE: returns only the newest message; FALSE: receiver with queue. eEvent CB.EVENT trigger event when message received xEnableSyncWindow BOOL use SYNC window: not implemented ==> do not care peError POINTER TO ERROR optional pointer to error enum
_CreateMessage (FUN) ¶ FUNCTION _CreateMessage : CAA.HANDLE Unmanaged implementation of CreateMessage InOut: Scope Name Type Comment Return _CreateMessage CAA.HANDLE new message handle Input hDriver CAA.HANDLE handle of CAN interface cobID CL2I.COBID cob ID usiLength USINT length of valid data bytes xRTR BOOL RTR bit x29BitID BOOL 29 Bit ID peError POINTER TO ERROR optional pointer to error enum
_CreateSingleIdReceiver (FUN) ¶ FUNCTION _CreateSingleIdReceiver : CAA.HANDLE Unmanaged implementation of CreateSingleIdReceiver InOut: Scope Name Type Comment Return _CreateSingleIdReceiver CAA.HANDLE new receiver handle or CAA.gc_hINVALID in case of failure Input hDriver CAA.HANDLE handle of CAN interface cobId CL2I.COBID id of message to be received xRTR BOOL RTR bit x29BitId BOOL 29 Bit Id xTransmit BOOL Transmit message xAlwaysNewest BOOL TRUE: returns only the newest message; FALSE: receiver with queue. eEvent CB.EVENT trigger event when message received xEnableSyncWindow BOOL use SYNC window: not implemented ==> do not care peError POINTER TO ERROR optional pointer to error enum
_DeleteReceiver (FUN) ¶ FUNCTION _DeleteReceiver : ERROR Unmanaged implementation of DeleteReceiver InOut: Scope Name Type Comment Return _DeleteReceiver ERROR ERROR.NO_ERROR or appropriate error code Input hReceiverId CAA.HANDLE handle of receiver
_DriverClose (FUN) ¶ FUNCTION _DriverClose : ERROR Unmanaged implementation of DriverClose InOut: Scope Name Type Comment Return _DriverClose ERROR ERROR.NO_ERROR or appropriate error code Input hDriver CAA.HANDLE handle of CAN interface
_DriverGetSize (FUN) ¶ FUNCTION _DriverGetSize : CAA.SIZE See DriverGetSize . InOut: Scope Name Type Comment Return _DriverGetSize CAA.SIZE Required memory size for _DriverOpenP Input usiNetId USINT xSupport29Bit BOOL ctMessages CAA.COUNT peError POINTER TO ERROR
_DriverOpenH (FUN) ¶ FUNCTION _DriverOpenH : CAA.HANDLE Unmanaged implementation of DriverOpenH InOut: Scope Name Type Comment Return _DriverOpenH CAA.HANDLE handle of CAN interface or CAA.gc_hINVALID if failed. Input usiNetId USINT number of CAN network [0..n] uiBaudrate UINT Baudrate in kBit/s xSupport29Bits BOOL FALSE: only 11-Bit IDs, TRUE: support also 29-Bit ctMessages CAA.COUNT number of transmit messages which should be allocated peError POINTER TO ERROR optional pointer to error enum
_DriverOpenP (FUN) ¶ FUNCTION _DriverOpenP : CAA.HANDLE Unmanaged implementation of DriverOpenP InOut: Scope Name Type Comment Return _DriverOpenP CAA.HANDLE Input usiNetId USINT number of CAN channel uiBaudrate UINT baudrate in kBit/s xSupport29Bits BOOL FALSE: only 11-Bit IDs, TRUE: support also 29-Bit szMemSize CAA.SIZE size of allocated memory pMemory CAA.PVOID pointer to memory peError POINTER TO ERROR
SDO_WRITE (STRUCT) ¶ TYPE SDO_WRITE : STRUCT Structure is only compatible with 3.5 SP7 runtime or newer InOut: Name Type Comment usiNodeId USINT usiChannel USINT uiIndex UINT usiSubIndex USINT xUseSpecificTimeout BOOL TRUE: ctTimeout will be used; ELSE: default timeout eMode SDO_MODE uiState UINT xLegacyCRC BOOL FALSE: Use default CANopen CRC for block transfer; TRUE: Use legacy CRC (used before 3.5 SP10). xDummy BOOL udiSize UDINT pData CAA.PVOID udiAbortCode UDINT ctTimeout CAA.COUNT Timeout in us