Gx1838GetDacCalibrationDataSources

Purpose

Returns the specified DAC calibration source data string.

Syntax

Gx1838GetDacCalibrationDataSources (nHandle, nDac, nDataSources, 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
nDataSources
SHORT
Returned calibration data sources is a combination of the follow:
1. GX1838_CAL_DATA_FACTORY
2. GX1838_CAL_DATA_USER_NONVOLATILE
4. GX1838_CAL_DATA_USER_VOLATILE
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

This function returns the calibration data sources currently available to use. The returned value is a combination of the following:

Calibration data sources:

Example

The following example returns the currently available to use calibration data sources for DAC C:

 

SHORT nDataSources, nStatus;

Gx1838GetDacCalibrationDataSources (nHandle, GX1838_DAC_C, &nDataSources, &nStatus);

 

See Also

Gx1838GetDacCalibrationDataSource, Gx1838SetDacCalibrationDataSource, Gx1838CalByUserReadMeasuredVoltage, Gx1838CalByUserSetup, Gx1838CalByUserSetupDacForMeasurement, Gx1838CalByUserStoreDacCalibrationData, Gx1838CalByUserWriteMeasuredVoltage, Gx1838GetBoardSummary, GxPdoGetErrorString