Interface for selecting a camera [Legacy API: 1st generation].
More...
|
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...
|
|
Interface for selecting a camera [Legacy API: 1st generation].
◆ CanCameraSelect()
cvbbool_t CanCameraSelect |
( |
IMG |
Image | ) |
|
This function verifies whether the image supports the CameraSelect interface.
- Parameters
-
[in] | Image | Handle 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] | Image | Handle of image object. |
[out] | lPort | Current 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] | Image | Handle of image object. |
[out] | lNumPorts | Number 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] | Image | Handle of image object. |
[in] | lPort | Port to be set active. |
[in] | lImgToWait | Specifies 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)