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.4.1.3 linControlGetCapsThe function determines the properties of the LIN connection of the specifiedcontrol unit. The complete syntax of the function is:HRESULT linControlGetCaps (HANDLEhLinCtl,PLINCAPABILITIES pLinCaps );Parameter:hLinCtl[in] Handle of the opened LIN control unit.pLinCaps[out] Pointer to a structure of type LINCAPABILITIES. If run successfully, thefunction saves the properties of the LIN connection in the memory areadefined 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 LINCAPABILITIES in section 5.3.1.4.4.1.4 linControlGetStatusThe function determines the current settings and the current status of the controllerof a LIN connection. The complete syntax of the function is:HRESULT linControlGetStatus (HANDLEhLinCtl,PLINLINESTATUS pStatus );Parameter:hLinCtl[in] Handle of the opened LIN control unit.pStatus[out] Pointer to a structure of type LINLINESTATUS. If run successfully, thefunction saves the current settings and the status of the controller in thememory area defined 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.78Copyright 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!