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.2 canSchedulerCloseThe function closes an opened cyclic transmit list. The complete syntax of thefunction is:HRESULT canSchedulerClose( HANDLE hScheduler )Parameter:hScheduler[in] Handle of the transmit list to be closed. The handle specified here mustcome from a call of the function canSchedulerOpen .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:After the function is called, the handle specified in hScheduler is no longer validand must no longer be used.4.3.3.3 canSchedulerGetCapsThe function determines the features of the <strong>CAN</strong> connection of the specified cyclictransmit list. The complete syntax of the function is:HRESULT canSchedulerGetCaps (HANDLEhScheduler,P<strong>CAN</strong>CAPABILITIES pCaps );Parameters:hScheduler[in] Handle of the opened transmit list.pCaps[out] Pointer to a structure of type <strong>CAN</strong>CAPABILITIES. If run successfully, thefunction saves the features of the <strong>CAN</strong> connection in the memory areaspecified here.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:Further information on the data provided by the function is given in the descriptionof the data structure <strong>CAN</strong>CAPABILITIES in section 5.2.1.71Copyright 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!