| MIL 10 Reference
| Customize Help
| Save Settings

MblobGetNumber



See also
Availability
Not available in MIL-Lite
Available in MIL

Available on Windows
Available on Linux

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
Get the number of currently included blobs.
Syntax
MIL_INT MblobGetNumber(
MIL_ID BlobResId, //in
MIL_INT *CountVarPtr //out
)
Description

This function reads the number of currently included blobs from the specified blob analysis result buffer. All blobs are included unless their status is changed, using MblobSelect(). Included blobs will be included in future operations and result retrievals.

This function must be used to determine the number of blob results that will be returned by MblobGetResult().

A call to MblobCalculate() must have been made prior to using this function.

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 if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameters
BlobResId

Specifies the identifier of the blob analysis result buffer.

CountVarPtr

Specifies the address of the variable in which to write the count. Since MblobGetNumber() also returns the number of selected blobs, you can set this parameter to M_NULL.

Return value
The returned value is the number of included blobs in the specified result buffer.
Compilation information
Header Include mil.h.
Library Use mil.lib; milblob.lib.
DLL Requires mil.dll; milblob.dll.