GetFPS
Top  Previous  Next

Description

Returns the actual frame rate of the camera in frames per second.


Syntax


[VB]
Value=objActiveGige.GetFPS


[C/C++]
HRESULT GetFPS(float* pValue);


Data Types
[VB]

Return value: Single


Parameters
[C/C++]

pValue [out,retval]  
Pointer to the fps value  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  

Example


This VB example displays the actual frame rate of the camera.

Private Sub ActiveGige1_FrameAcquired()  
Label1.Caption = ActiveGige1.GetFPS  
End Sub  
 

Remarks


This method returns the actual frame rate of the camera. Note that the actural frame rate may differ from the acquired frame rate. ActiveGige calculates the actual frame rate using the frame timestamps. If the camera doesn't support timestamps, the frame rate is calcualted based on the arrival of the video packets to the system memory.