DscDAGetOffsets

Universal Driver Documentation
Reads the D/A offset 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 function dscDAAutoCal() uses this function during execution.

Function Definition

BYTE dscDAGetOffsets(DSCB board, DFLOAT* offsets, int count)

Function Parameters

NameDescription
boardThe handle of the board to operate on
countThe number of offsets to read (this is usually 1 - the avarege D/A offset)
offsetsArray containing the D/A offset voltages stored in the EEPROM. For -AT boards and the Hercules, this is one value which represents the average offset across all D/A channels. It is used to normalize the D/A calibration to minimize average error across all D/A channels.

Return Value

Error code or 0.


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