AcquisitionFrameCount
Top  Previous  Next

Description

Returns or sets the number of frames to be acquired in MultiFrame AcquisitionMode


Syntax


[VB]
objActiveGeni.AcquisitionFrameCount [= Value]


[C/C++]
HRESULT get_AcquisitionFrameCount( long *pValue );
HRESULT put_AcquisitionFrameCount( long Value );



Data Type
[VB]

Long

Parameters
[C/C++]

pValue [out,retval]  
Pointer to the current frame count value  
Value [in]  
The frame count value 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 activates the acquisition of 100 frames:

ActiveGeni1.AcquisitionFrameCount=100
ActiveGeni1.AcquisitionMode = "MultiFrame"
ActiveGeni1.Acquire=TRUE

 

Remarks


This property is available only if the currently selected camera supports the AcquisitionFrameCount feature per GenICam standard.