SaveChannel
Top  Previous  Next

Description

Writes the current settings to the selected channel of the camera's internal EEPROM.


Syntax


[VB]
objActiveDcam.SaveChannel( Channel )


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


Data Types
[VB]

Channel: Integer
Return value: None


Parameters
[C/C++]

Channel [in]  
The index of the camera's memory channel (1-7).  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  

Example


This VB example saves the current camera settings in memory channel 1.

Private Sub
 SaveSettingsButton_Click()  
ActiveDcam1.SaveChannel (1)

End Sub  

 

Remarks


The number of memory channels available for the current camera is returned by GetMaxChannel. Channel 0 corresponds to the factory default settings and cannot be overwritten. Note that some cameras might not support memory channels.