dscGetReferenceVoltages

BYTE dscGetReferenceVoltages(DSCB board, DFLOAT* refs)

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.

Name

Description

DSCB

The handle of the board to operate on

refs

Array 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.

Last updated