ResetTimer
Top  Previous  Next

Description

Resets the internal timer of the virtual camera to zero.

[C++]
int
 ResetTimer();


Parameters
[C/C++]
 
None  
 
Return Values

S_OK  
Success  
E_FAIL  
Failure  
 

Example

This line of code resets the internal camera timer:

m_pCamera->ResetTimer();  
 

Remarks


The internal GigESim timer is used to integrate timestamps into each frame streamed to the network by the SendImage function. It is also used to handle schedule action commands.

Note that this method will work only if the Timer Mode is set to UDP. When the timer is set to the UNIX (IEEE-1588) mode, it is always synchronized with the astronomical time and therefore cannot be reset.