Image Manager (CVCDriver.dll) 14.0
ICameraSelect

Interface for selecting a camera [Legacy API: 1st generation]. More...

Functions

cvbbool_t CanCameraSelect (IMG Image)
 This function verifies whether the image supports the CameraSelect interface. More...
 
cvbres_t GetCamPort (IMG Image, cvbval_t &lPort)
 Returns the number of the currently selected camera port. More...
 
cvbres_t GetNumPorts (IMG Image, cvbval_t &lNumPorts)
 Returns the number of ports of the image or image acquisition device. More...
 
cvbres_t SetCamPort (IMG Image, cvbval_t lPort, cvbval_t lImgToWait)
 Sets the current camera port. More...
 

Detailed Description

Interface for selecting a camera [Legacy API: 1st generation].

Function Documentation

◆ CanCameraSelect()

cvbbool_t CanCameraSelect ( IMG  Image)

This function verifies whether the image supports the CameraSelect interface.

Parameters
[in]ImageHandle of image object.
Returns
TRUE if the image supports the CameraSelect interface, FALSE otherwise.
Supported platforms:
Win32
Win64
Linux
Examples:
Visual C++ - VC MDI Example (DLL only)

◆ GetCamPort()

cvbres_t GetCamPort ( IMG  Image,
cvbval_t &  lPort 
)

Returns the number of the currently selected camera port.

Parameters
[in]ImageHandle of image object.
[out]lPortCurrent camera port.
Returns
0 : OK
<0 : an error occured
Supported platforms:
Win32
Win64
Linux
Examples:
Visual C++ - VC MDI Example (DLL only)

◆ GetNumPorts()

cvbres_t GetNumPorts ( IMG  Image,
cvbval_t &  lNumPorts 
)

Returns the number of ports of the image or image acquisition device.

Parameters
[in]ImageHandle of image object.
[out]lNumPortsNumber of ports.
Returns
0 : OK
<0 : an error occured
Supported platforms:
Win32
Win64
Linux
Examples:
Visual C++ - VC MDI Example (DLL only)

◆ SetCamPort()

cvbres_t SetCamPort ( IMG  Image,
cvbval_t  lPort,
cvbval_t  lImgToWait 
)

Sets the current camera port.

Depending on the camera timing mode and the acquisition device, it is important to set the lImgToWait to a value that allows the acquisition device time to synchronise. If images are not synchronised after switching increase this number by 1 or 2 frames.

Parameters
[in]ImageHandle of image object.
[in]lPortPort to be set active.
[in]lImgToWaitSpecifies the number of vertical blanks to wait after switching in order to give the PLL enough time to prepare for the new signal.
Returns
0 : OK
<0 : an error occured
Supported platforms:
Win32
Win64
Linux
Examples:
Visual C++ - VC MDI Example (DLL only)