LoadChannel
Top  Previous  Next

Description

Loads a group of previously stored settings from form the selected channel of the camera's internal EEPROM.


Syntax


[VB]
objActiveDcam.LoadChannel( Channel )


[C/C++]
HRESULT LoadChannel( short Channel );


Data Types
[VB]

Channel: Integer
Return value: None


Parameters
[C/C++]

Channel [in]  
The index of the camera's memory channel (0-7). Channel 0 corresponds to the factory default settings.  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  

Example


This VB example restores the default factory camera settings:.

Private Sub
 FactoryButton_Click()  
ActiveDcam1.LoadChannel (0)

End Sub  

 

Remarks


The number of memory channels available for the current camera is returned by GetMaxChannel. Note that some cameras might not support memory channels.