VCI - Virtual CAN Interface - Ixxat
VCI - Virtual CAN Interface - Ixxat
VCI - Virtual CAN Interface - Ixxat
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Types and structures<strong>CAN</strong>_MSGTYPE_STATUS:Status message. This message type is entered in the receive buffers of all activated messagechannels when the controller status changes. The field <strong>CAN</strong>MSG.dwMsgId of the messagealways has the value 0xFFFFFFFF. The time of the event is marked in the field dwTime of themessage. The field <strong>CAN</strong>MSG.abData[0] contains the least significant byte of the current<strong>CAN</strong> status (see also <strong>CAN</strong>LINESTATUS.dwStatus). The contents of the other data fields areundefined.<strong>CAN</strong>_MSGTYPE_WAKEUP:Not currently used, or reserved for future extensions.<strong>CAN</strong>_MSGTYPE_TIMEOVR:Timer overrun. Messages of this type are generated when an overrun of the 32-bit timestamp of <strong>CAN</strong> messages occurs. The time of the event (normally 0) is given in the field<strong>CAN</strong>MSG.dwTime of the message and the number of timer overruns after the last timeroverrun message in the field <strong>CAN</strong>MSG.dwMsgId. The contents of the data fields abData areundefined.<strong>CAN</strong>_MSGTYPE_TIMERST:Not currently used, or reserved for future extensions• Bits.res:Reserved for future extension. For reasons of compatibility, the field should alwaysbe set to 0.• Bits.dlc:[in/out] Data length code. Defines the number of valid data bytes in the fields<strong>CAN</strong>MSG.abData of the message.• Bits.ovr:[out] Data overrun. The bit is set to 1 if the receive buffer is full after this messageis entered.• Bits.srr:[in/out] Self reception request. If the bit is set for transmit messages, the messageis entered in the receive buffer as soon as it has been transmitted on thebus. With receive messages, a set bit indicates that it is a received self- receptionmessage.• Bits.rtr:[in/out] Remote transmission request.• Bits.ext:[in/out] Message with extended 29-bit ID.• Bits.afc:[out] Acceptance filter code. With receive messages, this field specifies the filterthat let the message through.98Copyright IXXAT Automation GmbH C-API Programming Manual, Version 1.5