Skip to main content

McalSave

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 camera or 3D draw calibration context to a file.

Syntax

void McalSave(
AIL_CONST_TEXT_PTR FileName, //in
AIL_ID CalibrationId, //in
AIL_INT64 ControlFlag //in
)

Description

This function saves a camera or 3D draw calibration context to a file. This information can be reloaded, using McalRestore or McalStream.

Parameters

FileName (in, AIL_CONST_TEXT_PTR)

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

For specifying the file name and path

ValueDescription
M_INTERACTIVEOpens the File Save As dialog box from which you can interactively specify the drive, directory, and name of the file.
"FileName"Specifies the drive, directory, and name of the file (for example, "C:\mydirectory\myfile"). Typically, camera and 3D draw calibration context files have an MCA extension.

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

CalibrationId (in, AIL_ID)

Specifies the camera or 3D draw calibration context to save.

ControlFlag (in, AIL_INT64)

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

For specifying the function's control flag

ValueDescription
M_DEFAULTSets the function's control flag to the default.
Copyright © 2026 Zebra Technologies.