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.1.3 canControlGetCapsThe function determines the features of a <strong>CAN</strong> connection. The complete syntaxof the function is:HRESULT canControlGetCaps (HANDLEhControl,P<strong>CAN</strong>CAPABILITIES pCaps );Parameters:hControl[in] Handle of the opened <strong>CAN</strong> controller.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.4.3.1.4 canControlGetStatusThe function determines the current settings and the current status of the controllerof a <strong>CAN</strong> connection. The complete syntax of the function is:HRESULT canControlGetStatus (HANDLEhControl,P<strong>CAN</strong>LINESTATUS pStatus );hControl[in] Handle of the opened <strong>CAN</strong> controller.Parameters:pStatus[out] Pointer to a structure of type <strong>CAN</strong>LINESTATUS. If run successfully, thefunction saves the current settings and the status of the controller in thememory area specified here.51Copyright 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!