AcquisitionFrameRate
Top  Previous  Next

Description

Returns or sets the absolute value of the camera frame rate in Hz or raw units.


Syntax


[VB]
objActiveGige.AcquisitionFrameRate [= Value]


[C/C++]
HRESULT get_AcquisitionFrameRate( float *pValue );
HRESULT put_AcquisitionFrameRate( float Value );



Data Type
[VB]

Single

Parameters
[C/C++]

pValue [out,retval]  
Pointer to the current frame rate value  
Value [in]  
The frame rate to be set  


Return Values


S_OK  
Success  
E_NOINTERFACE        
The feature is not available for the selected camera  
E_INVALIDARG  
The value is out of range  
E_FAIL  
Failure to set the feature value  
 

Example


The following VB example sets the frame rate to 30:

ActiveGige1.AcquisitionFrameRate = 30
 

Remarks


The feature controls the rate at which frames are captured when the frame trigger is disabled. The valid range of the frame rate values can be obtained by the GetAcquisitionFrameRateMin and GetAcquisitionFrameRateMax methods.

Note that the property is available only if the currently selected camera supports one of the following GenICam features: AcquisitionFrameRate, AcquisitionFrameRateAbs, AcquisitionFrameRateRaw.