DscDASetOffsets

Universal Driver Documentation
Writes 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.

Function Definition

BYTE dscDASetOffsets(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 to be stored in the EEPROM. For AT boards and the Hercules-EBX, this is a single 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:28, 12 Feb 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.