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.4 linMonitorGetStatusThe function determines the current status of a message monitor as well as thecurrent settings and the current status of the controller that is connected to themessage monitor. The complete syntax of the function is:HRESULT linMonitorGetStatus (HANDLEhLinMon,PLINMONITORSTATUS pStatus );Parameter:hLinMon[in] Handle of the opened LIN message monitor.pStatus[out] Pointer to a structure of type LINMONITORSTATUS. If run successfully,the function saves the current status of the monitor and 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.Comments:Further information on the data provided by the function is given in the descriptionof the data structure LINMONITORSTATUS in section 5.3.3.4.4.2.5 linMonitorInitializeThe function initializes the receive buffer of a message monitor. The completesyntax of the function is:HRESULT linMonitorInitialize (HANDLE hLinMon,UINT16 wFifoSize,UINT16 wThreshold );hLinMon[in] Handle of the opened LIN message monitor.Parameter:wFifoSize[in] Size of the receive buffer in number of LIN messages.wThreshold[in] Threshold value for the receive event. The event is triggered when thenumber of messages in the receive buffer reaches or exceeds the numberdefined here.84Copyright 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!