WaitForRxMessagesWithTimeOut Method - neoVI API
Last updated
Last updated
This method is used to wait a specified amount of time for received messages from the neoVI hardware.
Parameters
hObject
[in] Specifies the driver object created by .
iTimeOut
[in] Specifies the amount of time in milliseconds that the function will wait for a received message before returning.
Return Values
0 if no message was received during the wait period. 1 if a message was received. -1 will be returned if there is an error condition. must be called to obtain the specific error. The errors that can be generated by this function are:
NEOVI_ERROR_DLL_NEOVI_NO_RESPONSE = 75
Remarks
This function allows an application to avoid ‘polling’ for received messages. It will return as soon as a message is received or when the timeout specified has been reached.