Timeout
Top  Previous  Next

Description

Returns or sets the current acquisition timeout in seconds.


Syntax


[VB]
objActiveDcam.Timeout [= Value]


[C/C++]
HRESULT get_Timeout( long *pTimeout );
HRESULT put_Timeout( long Timeout );



Data Type
[VB]

Long


Parameters
[C/C++]

pTimeout [out,retval]  
Pointer to the currently set timeout.  
Timeout [in]  
The timeout to be set.  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  


Example


This VB example sets the current timeout to 10 sec:

ActiveDcam1.Timeout = 10
MsgBox ActiveDcam1.Timeout
 

Remarks


The Timeout property lets you set the number of seconds to wait for a frame to be acquired. Typically used to assign the timeout when the Trigger mode is active. If the timeout expires, the Timeout event will be raised.