TemperatureControl
Top  Previous  Next

Description

Returns or sets the temperature control mode. The values from -1 to 2 correspond to the following modes:

 
-1 - Off  
   The temperature control is disabled  
0 - Manual  
The temperature level is controlled by the value of the Temperature property  
1 - Auto  
The camera controls the temperature level by itself continuously  
2 - One push  
The camera sets the optimal temperature level by itself and returns to the manual mode  


Syntax


[VB]
objActiveDcam.TemperatureControl [= Value]


[C/C++]
HRESULT get_TemperatureControl( short *pTemperatureControl );
HRESULT put_TemperatureControl( short TemperatureControl );



Data Type
[VB]

Integer

Parameters
[C/C++]

pTemperatureControl [out, retval]  
Pointer to the current temperature control mode  
TemperatureControl [in]  
The temperature control mode to be set  

Return Values


S_OK  
Success  
E_FAIL  
The temperature control is not available for the selected camera  
 

Example


The following VB example sets the target temperature of the sensors and activates the automatic temperature control.

ActiveDcam1.Temperature = 366
ActiveDcam1.TemperatureControl = 1
 

Remarks


Use the Temperature property to set the target temperature and get the actual temperature of the camera sensor.