Interface for asynchronous acquisition.
More...
Interface for asynchronous acquisition.
◆ CanPingPong()
cvbbool_t CanPingPong |
( |
IMG |
Image | ) |
|
This function verifies whether the image supports the PingPong interface.
- Parameters
-
[in] | Image | Handle of image object. |
- Returns
TRUE
if the image supports the PingPong interface, FALSE
otherwise.
- Supported platforms:
- Win32
Win64
Linux
- Examples:
- Visual Basic - VB Driver PingPong Example
Visual C++ - VC Driver MDI Example (DLL only)
- Deprecated:
- Is obsolete by newer Grabber interfaces IAcquisitionEngine
◆ NextImage()
cvbres_t NextImage |
( |
IMG |
Image, |
|
|
cvbuint32_t |
dwTimeout |
|
) |
| |
◆ StartPingPong()
cvbres_t StartPingPong |
( |
IMG |
Image | ) |
|
Starts acquisition in ping-pong mode.
- Parameters
-
[in] | Image | Handle of image object. |
- Returns
- >=0 : OK
<0 : an error occured
- Supported platforms:
- Win32
Win64
Linux
- Related Topics:
- WaitPingPong
UpdatePingPong
- Examples:
- Visual Basic - VB Driver PingPong Example
Visual C++ - VC Driver MDI Example (DLL only)
- Deprecated:
- Is obsolete by newer Grabber interfaces IAcquisitionEngine
◆ UpdatePingPong()
cvbres_t UpdatePingPong |
( |
IMG |
Image | ) |
|
Updates the image buffer once an image has been acquired with StartPingPong and WaitPingPong.
- Parameters
-
[in] | Image | Handle of image object. |
- Returns
- >=0 : OK
<0 : an error occured
- Supported platforms:
- Win32
Win64
Linux
- Related Topics:
- StartPingPong
WaitPingPong
- Examples:
- Visual Basic - VB Driver PingPong Example
Visual C++ - VC Driver MDI Example (DLL only)
- Deprecated:
- Is obsolete by newer Grabber interfaces IAcquisitionEngine
◆ WaitPingPong()
cvbres_t WaitPingPong |
( |
IMG |
Image, |
|
|
cvbuint32_t |
dwTimeout |
|
) |
| |
This function will wait until an image has been acquired after the StartPingPong has been called.
- Attention
- The timeout value might dependent on the minimum or maximum timeout periods allowed by the image acquisition device. The timeout value this value might be dependent on the minimum or maximum timeout periods allowed by the image acquisition device.
- Parameters
-
[in] | Image | Handle of image object. |
[in] | dwTimeout | Timeout in ms. |
- Returns
- >=0 : OK
<0 : an error occured
- Supported platforms:
- Win32
Win64
Linux
- Related Topics:
- StartPingPong
UpdatePingPong
See also info for the SetTimeout function.
- Examples:
- Visual Basic - VB Driver PingPong Example
Visual C++ - VC Driver MDI Example (DLL only)
- Deprecated:
- Is obsolete by newer Grabber interfaces IAcquisitionEngine