Returns the specified DAC calibration source data string.
Gx1838GetDacCalibrationDataString (nHandle, nDac, nDataSource, pszCalData, nSumMaxLen, 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 |
nDataSource |
SHORT |
Specified calibration data source as follow:1. GX1838_CAL_DATA_FACTORY2. GX1838_CAL_DATA_USER_NONVOLATILE4. GX1838_CAL_DATA_USER_VOLATILE |
pszCalData |
PSTR |
Buffer to contain the returned board info (null terminated) string. |
nSumMaxLen |
SHORT |
Size of the buffer to contain the error string. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
See the Gx1838SetDacCalibrationDataSource function for details of each of the calibration data source. The user needs to check if the specified nDataSource supports by the board by calling Gx1838GetDacCalibrationAvailableDataSource function.
The DAC calibration source data string provides detailed information for each DACs’ calibration parameters. The returned string provides the following data in the order shown:
DAC number (A through C)
Load Value:(e.g., 1234.56)
Low Voltage (e.g. 0.88)
High Voltage: (e.g. 32.93)
Calibration time and date (e.g. Thu Oct 09 10:24:31 2003)
The following is an example of DAC B with calibration source set as GX1838_CAL_DATA_USER_NONVOLATILE:
“DAC B, Load Value:1234.56, Low Voltage:0.88, High Voltage:32.93, Calibration time: Thu Oct 09 10:24:31 2003”;
Gx1838GetDacCalibrationDataSources, Gx1838GetDacCalibrationDataSource, Gx1838SetDacCalibrationDataSource, Gx1838GetBoardSummary, GxPdoGetErrorString