Download "user manual"

Transcript
Virtual CAN Interface
Interface description
2.10.2. VCI_RequestObj
Function:
int VCI_RequestObj( UINT16 board_hdl,
UINT16 que_hdl, UINT32 id, UINT8 len );
Description:
Transmits a remote object via the referenced transmit
queue. If VCI_QUE_FULL is returned the referenced
transmit queue is actually full and the transmitting order
must be repeated (later). If VCI_TX_ERR is returned
the CAN controller cannot transmit messages because
of cable break or wrong baudrate.
Parameter:
board_hdl (in)
Handle of the board registered before.
que_hdl (in)
Handle of the queue.
id (in)
Identifier of the transmit object.
len (in)
Number of data bytes.
Return value:
VCI return codes.
2.10.3. VCI_UpdateBufObj
Function:
int VCI_UpdateBufObj( UINT16 board_hdl,
UINT16 buf_hdl, UINT8 len, UINT8 * p_data );
Description:
Updates data in a remote buffer which can be
requested via the CAN network by another node.
51