DscGetReferenceVoltages

Universal Driver Documentation
Reads the autocalibration reference voltages from the EEPROM for use in the autocalibration process. This is a utility function that normally does not need to be called in a user application. The functions dscADAutoCal() and dscDAAutoCal() use this function during execution.

Function Definition

BYTE dscGetReferenceVoltages(DSCB board, DFLOAT* refs)

Function Parameters

NameDescription
boardThe handle of the board to operate on
refsArray containing the reference voltages stored in the EEPROM. These are the voltages from the on-board precision voltage divider circuit that are used for autocalibration. During autocalibration, the driver software will measure the actual reference voltages and calibrate the board until the A/D readings match the stored values. The array size is 8 elements.

Return Value

Error code or 0.


This page was last modified 12:27, 12 Feb 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.