OpenCamera
Open a control channel to the camera.
Syntax
Definition:
METHOD OpenCamera : HRESULTFurther information
The method OpenCamera opens a communication channel to the camera. In the corresponding OPENED state, camera registers can be read and written, images can be acquired and continuous image recording can be started.
If the InitializationAutoMode is set to AUTOINIT_AFTER_SO in the TcCOM parameters of the Image Acquisition object, the GigE Vision camera is initialized the first time the method OpenCamera is called. Among others, this includes the writing of the Initialization Commands or the setting of the UserSets. Alternatively, the InitializeCamera method can be called in order to perform the initialization manually.
State transitions
With OpenCamera, the camera is to be placed in the OPENED state. This can take place from the INITIAL and INITIALIZED states. As a rule, this transition takes place via the intermediate state OPENING.
Fig.29: State transitions with FB_VN_GevCameraControl.OpenCameraAll possible state transitions and their return codes are shown in the following transition matrix:
Return Codes (  | Result state  | |||||
INITIAL  | INITIALIZED  | OPENING  | OPENED  | ERROR  | ||
Initial state  | INITIAL  | 
  | 
  | 
  | 
  | 
  | 
INITIALIZED  | 
  | 
  | ||||
OPENING  | 
  | 
  | ||||
 Return value