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.4.2.2 linMonitorCloseThe function closes an opened message monitor for the LIN connection. Thecomplete syntax of the function is:HRESULT linMonitorClose ( HANDLE hLinMon );Parameter:hLinMon[in] Handle of the message monitor to be closed. The handle used heremust come from a call of the function linMonitorOpen.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:When the function was called, the handle specified in hLinMon is no longer validand may no longer be used.4.4.2.3 linMonitorGetCapsThe function determines the properties of the LIN connection of the specifiedmessage monitor. The complete syntax of the function is:HRESULT linMonitorGetCaps (HANDLEhLinMon,PLINCAPABILITIES pLinCaps );Parameter:hLinMon[in] Handle of the opened LIN message monitor.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.83Copyright 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!