Stores the calibration data of the DAC currently under calibration.
Gx1838CalByUserStoreDacCalibrationData (nHandle, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1838 board. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
This function concludes the calibration process for the DAC currently under calibration. The function analyzes the data previously gathered, zero voltage and positive full-scale voltage in relationship to the specified load and to the board’s specifications. If the analysis succeeds the calibration data is then stored to the calibration data source as was specified in the Gx1838CalByUserSetup function.
Note: Storing the calibration data to the on-board EEPROM may take a minute or so (if calibration data source was specified as User).
The following example stores the calibration data of the DAC currently under calibration:
SHORT nStatus;
Gx1838CalByUserStoreDacCalibrationData (nHandle, &nStatus);
Gx1838CalByUserSetupDacForMeasurement, Gx1838CalByUserWriteMeasuredVoltage, Gx1838CalByUserReadMeasuredVoltage, Gx1838SetDacCalibrationDataSource, Gx1838GetDacCalibrationDataSources, GxPdoGetErrorString