DAQmxRestoreLastExtCalConst

NI-DAQmx C Functions

DAQmxRestoreLastExtCalConst

int32 DAQmxRestoreLastExtCalConst (const char deviceName[]);

Purpose

Sets the self calibration constants of the device to the the current external calibration constants. National Instruments sets the external calibration constants at the factory, and those constants remain in effect until you perform a new external calibration on the device.

This function nullifies any self calibration you perform on the device. If you have never performed a self calibration on the device, this function has no effect.

Parameters

Input
Name Type Description
deviceName const char [] The name of the device, as configured in Measurement & Automation Explorer (MAX), to which this operation applies.

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.