Timeout
Top  Previous  Next

Description

This event is fired each time a timeout occurs during the acquisition of a frame.


Syntax


[VB]
Private Sub objActiveGige_Timeout()


[C/C++]
HRESULT Fire_Timeout();


Parameters
[C/C++]

None  
 

Return Values


S_OK  
Success  
E_FAIL  
Failure.  


Example


This VB example uses the Timeout event to generate a sound signal:

Private Sub ActiveGige1_Timeout()  
Beep  
End Sub  
 

Remarks


The Timeout event is raised when the amount of seconds specified by the Timeout property passes after the Grab method has been called and no frame has been acquired. The event will be raised repeatedly if the control is set in the continuous acquisition mode (Acquire is TRUE). The most common reason for a timeout is a missing trigger signal in the Trigger mode.