DSCDACALPARAMS

Universal Driver Documentation
Structure containing parameters used in D/A auto-calibration.

Structure Definition

typedef struct {

    DFLOAT darange;
    FLOAT offset;
    FLOAT gain;
    BOOL ch0pol, ch0prog, ch0ext;
    BOOL ch1pol, ch1prog, ch1ext;

} DSCDACALPARAMS;

Structure Members

NameDescription
darangeDesired full-scale voltage for custom D/A range setting, in volts. Used only when in Programmable mode, otherwise ignored. Range is anywhere between 1.0 and 10.0 in increments of .001.
offsetError in D/A LSB counts at the mid-scale of the D/A range
gainError in D/A LSB counts at the full-scale (high end) of the D/A range

The following parameters are used only on Diamond-MM-AT. This board has independent D/A settings for each analog output channel. The parameters below correspond to the jumper settings on the board.

NameDescription
ch0pol, ch1polPolarity setting for each D/A channel: 0 = bipolar, 1 = unipolar
ch0prog, ch1progProgrammable setting for each D/A channel: 0 = fixed range, 1 = programmable range
ch0ext, ch1extReference source for each D/A channel: 0 = internal, 1 = external


This page was last modified 00:08, 30 Jan 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.