Delete the specified calibration data source.
Gx1838CalByUserDeleteClibration (nHandle, nDac, nCalDataSource, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1838 board. |
nDac |
SHORT |
Specified DAC number.0. GX1838_DAC_A1. GX1838_DAC_B2. GX1838_DAC_C |
nCalDataSource |
SHORT |
Calibration data source are as follow:2. GX1838_CAL_DATA_USER_NONVOLATILE4. GX1838_CAL_DATA_USER_VOLATILE |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Calling this function will delete the specified calibration data source and its data.
Calibration data sources:
GX1838_CAL_DATA_USER_NONVOLATILE: Exists only if the user calibrated the specified DAC using the Calibration By User set of functions. This calibration is a nonvolatile type (save to the on-board EEPROM).
GX1838_CAL_DATA_USER_VOLATILE: Exists only if the user calibrated the specified DAC using the Calibration By User set of functions. This calibration data source is a volatile type (not saved to the board). The calibration data is valid only if the current application (ATEasy or executable) used for calibration was not terminated.
The following example deletes the calibration by user nonvolatile data from Dac B:
SHORT nStatus;
Gx1838CalByUserDeleteClibration (nHandle, GX1838_DAC_B, GX1838_CAL_DATA_USER_NONVOLATILE, &nStatus);
Gx1838CalByUserSetupDacForMeasurement, Gx1838CalByUserWriteMeasuredVoltage, Gx1838CalByUserStoreDacCalibrationData, Gx1838SetDacCalibrationDataSource, Gx1838GetDacCalibrationDataSources, GxPdoGetErrorString