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> descriptionpCaps[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.2.4 canChannelGetStatusThe function determines the current status of a message channel as well as thecurrent settings and the current status of the controller that is connected to thechannel. The complete syntax of the function is:HRESULT canChannelGetStatus (HANDLEhChannel,P<strong>CAN</strong>CHANSTATUS pStatus );Parameters:hChannel[in] Handle of the opened message channel.pStatus[out] Pointer to a structure of type <strong>CAN</strong>CHANSTATUS. If run successfully,the function saves the current status of the channel and controller in thememory area specified 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>CHANSTATUS in section 5.2.3.62Copyright 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!