EasyManua.ls Logo

Sys Tec Electronic USB-CANmodul - Ucanhandle_P: USB-CAN Handle Received with the Function Ucaninithardware (); Usability: CAN_INIT

Sys Tec Electronic USB-CANmodul
74 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
USB-CANmodul
48
SYS TEC electronic GmbH 2001 L-487e_6
UcanReadCanMsg
Syntax:
BYTE STDCALL UcanReadCanMsg (tUcanHandle UcanHandle_p,
tCanMsgStruct* pCanMsg_p);
Usability:
CAN_INIT
Parameter:
UcanHandle_p: USB-CAN handle received with the function
UcanInitHardware ().
pCanMsg_p: Address to a CAN message structure. This address
must not be ZERO.
typedef struct
{
DWORD m_dwID; // CAN identifier
BYTE m_bFF; // CAN frame format
BYTE m_bDLC; // CAN data length code
BYTE m_bData[8]; // CAN data
DWORD m_dwTime; // Receipt time in ms
} tCanMsgStruct;

Table of Contents