DAQmxCloseExtCal

NI-DAQmx C Functions

DAQmxCloseExtCal

int32 DAQmxCloseExtCal (uInt32 calHandle, int32 action);

Purpose

Closes an open external calibration session.

Parameters

Input
Name Type Description
calHandle uInt32 A reference to the calibration session that you created using the DAQmxInitExtCal function.
action int32 Specifies how to close the calibration session.
Value Description
DAQmx_Val_Action_Commit Saves the calibration changes made in the session
DAQmx_Val_Action_Cancel Closes the session without saving any calibration changes

Return Value

Name Type Description
status int32 The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error.