13.07.2015 Views

VCI - Virtual CAN Interface - Ixxat

VCI - Virtual CAN Interface - Ixxat

VCI - Virtual CAN Interface - Ixxat

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Interface</strong> description4.3.3 Cyclic transmit listWith the transmit list, up to 16 different <strong>CAN</strong> message objects can be transmittedcyclically. These interfaces provides functions to configure, start and stop the cyclictransmit messages.4.3.3.1 canSchedulerOpenThe function opens the cyclic transmit list of a <strong>CAN</strong> connection on a <strong>CAN</strong> interfaceboard. The complete syntax of the function is:HRESULT canSchedulerOpen(HANDLE hDevice,UINT32 dwCanNo,PHANDLE phScheduler )Parameters:hDevice[in] Handle of the <strong>CAN</strong> interface board.dwCanNo[in] Number of the <strong>CAN</strong> connection of the transmit list to be opened. Thevalue 0 selects the first connection, the value 1 the second connection andso on.phScheduler[out] Pointer to a variable of type HANDLE. If run successfully, the functionreturns the handle of the opened transmit list in this variable. In the eventof an error, the variable is set to ZERO.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:If the value 0xFFFFFFFF is specified in the parameter dwCanNo, the functiondisplays a dialog window to select a <strong>CAN</strong> interface board and a <strong>CAN</strong> connectionon the screen. In this case the function expects the handle of a higher orderwindow, or the value ZERO if no higher order window is available, in theparameter hDevice and not the handle of the <strong>CAN</strong> interface board.70Copyright 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!