ExposureTimeRaw
Top  Previous  Next

Description

Returns or sets the value of the camera exposure in relative units.


Syntax


[VB]
objActiveGeni.ExposureTimeRaw [= Value]


[C/C++]
HRESULT get_ExposureTimeRaw( long *pValue );
HRESULT put_ExposureTimeRaw( long Value );



Data Type
[VB]

Long

Parameters
[C/C++]

pValue [out,retval]  
Pointer to the current exposure value  
Value [in]  
The exposure 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 demonstrates the use of a scroll control for real-time adjustment of the exposure value.

Private Sub
 Form_Load()

HScroll1.Value = ActiveGeni1.ExposureTimeRaw
HScroll1.Min = ActiveGeni1.GetFeatureMin ("ExposureTimeRaw")
HScroll1.Max = ActiveGeni1.GetFeatureMax ("ExposureTimeRaw")
ActiveGeni1.Acquire=
True

End Sub


Private Sub
 HScroll1_Scroll()

ActiveGeni1.ExposureTimeRaw = HScroll1.Value

End Sub

 

Remarks


This property changes the integration time of the camera's sensor to a sub-value of the frame period. Depending on the camera model, the raw exposure value can be directly or inversely related to the integration time absolute value. The valid range of the exposure values can be obtained by the GetFeatureMin and GetFeatureMax methods.

Note that the property is available only if the currently selected camera supports the ExposureTimeRaw feature per GenICam standard.