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.3.3.4 canSchedulerGetStatusThe function determines the current status of the transmit task and of all registeredtransmit objects of a cyclic transmit list. The syntax of the function is:HRESULT canSchedulerGetStatus (HANDLEhScheduler,P<strong>CAN</strong>SCHEDULERSTATUS pStatus );Parameters:hScheduler[in] Handle of the opened transmit list.pStatus[out] Pointer to a structure of type <strong>CAN</strong>SCHEDULERSTATUS If runsuccessfully, the function saves the current status of all cyclic transmitobjects in the memory 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:The function returns the current status of all 16 transmit objects in the table<strong>CAN</strong>SCHEDULERSTATUS.abMsgStat. The list index provided by the functioncanSchedulerAddMessage can be used to request the status of an individualtransmit object, i.e. abMsgStat[Index] contains the status of the transmit objectwith the specified index.Further information on the data provided by the function is given in the descriptionof the data structure <strong>CAN</strong>SCHEDULERSTATUS in section 5.2.4.4.3.3.5 canSchedulerActivateThe function starts or stops the transmit task of the cyclic transmit list and thusthe cyclic transmit process of all currently registered transmit objects. The completesyntax of the function is:HRESULT canSchedulerActivate ( HANDLE hScheduler, BOOL fEnable );Parameters:hScheduler[in] Handle of the opened transmit list.72Copyright 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!