GetFPSAcquired
Top  Previous  Next

Description

Returns the acquired (displayed) frame rate in frames per second.


Syntax


[VB]
Value=objActiveDcam.GetFPSAcquired


[C/C++]
HRESULT GetFPSAcquired(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 acquired frame rate.

Private Sub ActiveDcam1_FrameAcquired()  
Label1.Caption = ActiveDcam1.GetFPSAcquired  
End Sub  
 

Remarks


This method returns the frame rate based on the arrival of the video frames into the application buffer. The acquired frame rate depends on the CPU power, performance of the graphic card, color conversion required for a given video mode and custom image processing performed on each frame. The acquired frame rate is equal to the frequency at which the FrameAcquired event is called in your application. When the acquired frame rate is lower than camera frame rate, ActiveDcam will fire the FrameDropped events.