Calculates the forward bias output 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_FinalizeForwardBiasOutputCalibration(ni4133_SessionHandle sessionHandle, double pulseCurrentLevelSetpoints[], double idleCurrentLevelSetpoints[], double externalMeasuredPulseVoltages[], double externalMeasuredPilotVoltages[], double loadBoardShuntResistances[], size_t numberOfMeasurements)

Parameters

NameDirectionTypeDescription
sessionHandle[in]ni4133_SessionHandle

Specifies the session to calibrate.

pulseCurrentLevelSetpoints[in]double[]

Specifies the list of current level setpoints for the measurements.

idleCurrentLevelSetpoints[in]double[]

Specifies the list of idle current level setpoints for the measurements.

externalMeasuredPulseVoltages[in]double[]

Specifies the list of pulse voltages measured by the external device.

externalMeasuredPilotVoltages[in]double[]

Specifies the list of pilot 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