Gx1838CalByUserDeleteCalibration

Purpose

Delete the specified calibration data source.

Syntax

Gx1838CalByUserDeleteClibration (nHandle, nDac, nCalDataSource, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX1838 board.
nDac
SHORT
Specified DAC number.
0.  GX1838_DAC_A
1.  GX1838_DAC_B
2.  GX1838_DAC_C
nCalDataSource
SHORT
Calibration data source are as follow:
2.  GX1838_CAL_DATA_USER_NONVOLATILE
4.  GX1838_CAL_DATA_USER_VOLATILE
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

Calling this function will delete the specified calibration data source and its data.

Calibration data sources:

Example

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);

 

See Also

Gx1838CalByUserSetupDacForMeasurement, Gx1838CalByUserWriteMeasuredVoltage, Gx1838CalByUserStoreDacCalibrationData, Gx1838SetDacCalibrationDataSource, Gx1838GetDacCalibrationDataSources, GxPdoGetErrorString