| MIL 10 Reference
| Customize Help
| Save Settings

MdigGrabWait



See also
Availability
Available in MIL-Lite
Available in MIL

Available on Windows
Available on Linux

Not supported on:
Not supported on Matrox GPU processing driver
Partially supported on:
Partially supported on Host system

Fully supported on:
Fully supported on Matrox CronosPlus
Fully supported on Matrox GigE Vision driver
Fully supported on Matrox IEEE 1394 IIDC driver
Fully supported on Matrox Iris GT
Fully supported on Matrox Morphis
Fully supported on Matrox Morphis QxT
Fully supported on Matrox Orion HD
Fully supported on Matrox Radient eCL
Fully supported on Matrox Radient eV-CXP
Fully supported on Matrox Solios eA/XA
Fully supported on Matrox Solios ecl/xcl/ev-cl
Fully supported on Matrox USB3 Vision driver (requires Update 19)
Fully supported on Matrox Vio

For any information regarding a MIL system added during a MIL Update, see the MIL system’s release note

Available on Non-Matrox computer
Available on Matrox 4Sight-X
Available on Matrox 4Sight GP
Available on Matrox Supersight
function map Function map
Examples
Synopsis
Wait for the end of the grab in progress.
Syntax
void MdigGrabWait(
MIL_ID DigId, //in
MIL_INT64 ControlFlag //in
)
Description

This function allows you to temporarily override the grab mode on the specified digitizer (see MdigControl() with M_GRAB_MODE).

Using this function forces the grab to wait until the grab timeout value has expired (set using MdigControl() with M_GRAB_TIMEOUT). Note that if the grab timeout is set to infinite, the grab will never end and this function will wait indefinitely. If the grabbed frame is not returned within the period of the timeout, an error is generated.

[Host system]

When grabbing from a video or directory of images, once the last image is grabbed, grabbing will restart from the beginning of the video or from the first image in the directory.

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see which MIL system’s documentation you should use in its place and any possible differences.
Parameters
This function is not supported on the selected boards.
This function reference has not been updated for the selected MIL system. To show the content of this page, choose a second MIL system; refer to the MIL system's release note to see which MIL system’s documentation to choose and any possible differences.
Parameters
DigId

Specifies the identifier of the digitizer.

ControlFlag

Specifies the function's control flag. This parameter must be set to one of the following:

function map For specifying the function's control flag
CollapseValue Description
MIL system-specific
tooltip (†)
Collapse M_GRAB_END

Wait for the end of all queued grabs.

This value should not be used when grabbing data with MdigGrabContinuous().

(summarize)
a b c e f g h i j k l m n o p q r s
Collapse M_GRAB_FRAME_END

Waits for the end of the current grab.

a b c e f g h i j k l m n o p q r s
Compilation information
Header Include mil.h.
Library Use mil.lib.
DLL Requires mil.dll.
GRAB END GRAB FRAME END