1.1.4.25 DRV_METROLOGY_GetCalibrationReferences Function
C
DRV_METROLOGY_CALIBRATION_REFS * DRV_METROLOGY_GetCalibrationReferences (void);SummaryGet the pointer to the calibration references used in the internal calibration process of the metrology library.
DescriptionThese internal calibration values are used to set the target values to be measured.
They include the result of the calibration process to be checked by the main application.
ParametersNone.
ReturnsPointer to the calibration references to be used in the next calibration process.
Example voidAPP_METROLOGY_StartCalibration(APP_METROLOGY_CALIBRATION * calibration)
{
DRV_METROLOGY_CALIBRATION_REFS * pCalibrationRefs;
pCalibrationRefs = DRV_METROLOGY_GetCalibrationReferences();
pCalibrationRefs->aimIA = calibration->aimIA;
pCalibrationRefs->aimVA = calibration->aimVA;
pCalibrationRefs->angleA = calibration->angleA;
pCalibrationRefs->aimIB = calibration->aimIB;
pCalibrationRefs->aimVB = calibration->aimVB;
pCalibrationRefs->angleB = calibration->angleB;
pCalibrationRefs->aimIC = calibration->aimIC;
pCalibrationRefs->aimVC = calibration->aimVC;
pCalibrationRefs->angleC = calibration->angleC;
pCalibrationRefs->aimIN = calibration->aimIN;
pCalibrationRefs->angleN = calibration->angleN;
pCalibrationRefs->lineId = calibration->lineId;
app_metrologyData.state = APP_METROLOGY_STATE_CHECK_CALIBRATION;
DRV_METROLOGY_StartCalibration();
}RemarksNone.
