Calculates the reverse current 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_FinalizeReverseCurrentCalibration(ni4133_SessionHandle sessionHandle, double reverseBiasVoltageSetpoints[], double ni4133MeasuredCurrents[], double externalMeasuredVoltages[], double externalMeasuredCurrents[], size_t numberOfMeasurements)

Parameters

NameDirectionTypeDescription
sessionHandle[in]ni4133_SessionHandle

Specifies the session to calibrate.

reverseBiasVoltageSetpoints[in]double[]

Specifies the list of reverse bias voltage setpoints used for the measurements.

ni4133MeasuredCurrents[in]double[]

Specifies the list of current measurements made by the device.

externalMeasuredVoltages[in]double[]

Specifies the list of voltage measurements made by the external device.

externalMeasuredCurrents[in]double[]

Specifies the list of current measurements made by the external device.

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