Calculates the forward bias input calibration constants based on the measurements. Note: this does not update the constants used during measurements; to update these, call ni4133_CommitExternalCalibrationData first.

Syntax

ni4133_Status NI4133_DECL ni4133_FinalizeForwardBiasInputCalibration(ni4133_SessionHandle sessionHandle, double ni4133MeasuredVoltages[], double ni4133MeasuredCurrents[], double externalMeasuredVoltages[], double loadBoardShuntResistances[], size_t numberOfMeasurements)

Parameters

NameDirectionTypeDescription
sessionHandle[in]ni4133_SessionHandle

Specifies the session to calibrate.

ni4133MeasuredVoltages[in]double[]

Specifies the list of voltages measured by the device.

ni4133MeasuredCurrents[in]double[]

Specifies the list of currents measured by the device.

externalMeasuredVoltages[in]double[]

Specifies the list of voltages measured by the external device.

loadBoardShuntResistances[in]double[]

Specifies the list of calibration load board shunt resistances.

numberOfMeasurements[in]size_t

Specifies the number of measurements made.

Returns

Reports the status of this operation.

To obtain a text description of the status code, call ni4133_GetErrorDescription. The general meaning of the status code is as follows:

Value

Meaning

Positive Values

Warnings

Negative Values

Errors