Skip to main content

MbeadSave

BoardSupported
Host SystemYes
V4L2Yes
Clarity UHDYes
Concord PoENo
GenTLYes
GevIQYes
GigE VisionYes
IndioNo
Iris GTXYes
Radient eV-CLYes
Rapixo CLYes
Rapixo CoFYes
Rapixo CXPYes
USB3 VisionYes

Save a bead context to a file.

Syntax

void MbeadSave(
AIL_CONST_TEXT_PTR FileName, //in
AIL_ID ContextBeadId, //in
AIL_INT64 ControlFlag //in
)

Description

This function saves all the information about the previously allocated bead context to disk, including the current settings of each template, training information, and the camera calibration context associated with the training image, if any. This information can be reloaded, using MbeadRestore or MbeadStream.

Parameters

FileName (in, AIL_CONST_TEXT_PTR)

Specifies the name and path of the file in which to save the bead context. It is recommended that you use the MBEAD file extension for easier use with other Aurora Imaging software products. The function internally handles the opening and closing of the file. If this file already exists, it will be overwritten.

For specifying the file name and path

ValueDescription
"FileName"Specifies the drive, directory, and name of the file (for example, "C:\mydirectory\myfile"). Typically, bead context files have a MBEAD file extension.

To specify a file on a remote computer (under Distributed Aurora Imaging Library), prefix the specified file name string with "remote:///" (for example, "remote:///C:\mydirectory\myfile"). |

ContextBeadId (in, AIL_ID)

Specifies the identifier of the bead context to save.

ControlFlag (in, AIL_INT64)

Reserved for future expansion and must be set to M_DEFAULT.

Copyright © 2026 Zebra Technologies.