13.07.2015 Views

VCI - Virtual CAN Interface - Ixxat

VCI - Virtual CAN Interface - Ixxat

VCI - Virtual CAN Interface - Ixxat

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Interface</strong> description4.3.3.7 canSchedulerAddMessageThe function adds a new transmit object to the specified cyclic transmit list. Thecomplete syntax of the function is:HRESULT canSchedulerAddMessage (HANDLEhScheduler,P<strong>CAN</strong>CYCLICTXMSG pMessage,PUINT32 pdwIndex );Parameters:hScheduler[in] Handle of the opened transmit list.pMessage[in] Pointer to an initialized structure of type <strong>CAN</strong>CYCLICTXMSG with thetransmit object.pdwIndex[out] Pointer to a variable of type UINT32. If run successfully, the functionreturns the list index of the newly added transmit object in this variable. Inthe event of an error, the variable is set to the value 0xFFFFFFFF (-1). Thisindex is required for all further function calls.Return value:If run successfully, the function returns the value <strong>VCI</strong>_OK, otherwise an errorcode not equal to <strong>VCI</strong>_OK. Further information on the error code is providedby the function vciFormatError.Comments:The cyclic transmit process of the newly added transmit object begins only aftera successful call of the function canSchedulerStartMessage. In addition, thetransmit list must be active (see canSchedulerActivate).4.3.3.8 canSchedulerRemMessageThe function stops processing of a transmit object and removes it from the specifiedcyclic transmit list. The complete syntax of the function is:HRESULT canSchedulerRemMessage (HANDLE hScheduler,UINT32 dwIndex );Parameters:hScheduler[in] Handle of the opened transmit list.74Copyright IXXAT Automation GmbH C-API Programming Manual, Version 1.5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!