ExposureMode
Top  Previous  Next

Description

Returns or sets the operation mode of the exposure (shutter). Can be one of the following values:

"Off"  
Disables the exposure and lets the shutter open     
"Timed"  
Exposure time is set using ExposureTime or ExposureAuto  
"TriggerWidth  
The camera uses the width of the current Frame or Line trigger signal pulse to control the exposure time.  
"TriggerControlled"  
The camera uses one or more trigger signals to control the exposure time independently from the Frame or Line triggers. See TriggerSelector for more details  

Syntax


[VB]
objActiveUSB.ExposureMode [= Value]


[C/C++]
HRESULT get_ExposureMode( bstr *pValue );
HRESULT put_ExposureMode( bstr Value );



Data Type
[VB]

String

Parameters
[C/C++]

pValue [out, retval]  
Pointer to the string specifying the exposure operational mode  
Value [in]  
The exposure operational mode to be set  

Return Values


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

Example


The following VB example demonstrates the use of a combo box to switch between exposure operational modes.

Private Sub
 Form_Load()
Lst = ActiveUSB1.GetEnumList("ExposureMode")
For
 i = 0 
To
 
UBound
(Lst)
Combo1.AddItem (Lst(i))
Next

Combo1.ListIndex = ActiveUSB1.ExposureMode
End Sub

Private Sub
 Combo1_Click()
ActiveUSB1.ExposureMode = Combo1.Text
End Sub

 

Remarks


The property is available only if the currently selected camera supports the ExposureMode feature per GenICam standard.