⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manual_dscadsettings.html

📁 Diamond公司Dscud通用驱动使用说明手册
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"        "http://www.w3.org/TR/html4/loose.dtd"><html lang="en"><head><title>DSCADSETTINGS - Universal Driver Documentation</title><meta http-equiv="Content-type" content="text/html; charset=iso-8859-1"><meta name="robots" content="index,follow"><link rel="shortcut icon" href="/favicon.ico"><link rel="stylesheet" href="/dscud/style/wikiprintable.css"><script type="text/javascript" src="/dscud/style/wikibits.js"></script><style type='text/css'><!--a.new, #quickbar a.new { color: #CC2200; }#quickbar { position: absolute; top: 4px; left: 4px; border-right: 1px solid gray; }#article { margin-left: 152px; margin-right: 4px; }//--></style></head><body bgcolor='#FFFFFF'><div class='titlebox'><h1 class='pagetitle'>DSCADSETTINGS</h1><span class='subtitle'>Universal Driver Documentation</span></div><div class='navbox'><a href="manual_Main_Page.html" class='printable' title ="Main Page">Main Page</a> || <a href="manual_Table_of_Contents.html" class='printable' title ="Table of Contents">Table_of_Contents</a> || <a href="http://www.diamondsystems.com/">Diamond Systems Website</a></div></div><div class='bodytext'><h2><a name="Structure_Definition">Structure Definition</a></h2>
<p>
typedef struct {
<p>
<pre>    BYTE current_channel;
    BYTE gain;
    BYTE range;
    BYTE polarity;
    BYTE load_cal;
    BYTE scan_interval;
</pre><p>
} DSCADSETTINGS;
<p>
<h2><a name="Structure_Members">Structure Members</a></h2>
<p>
<table border=1><tr ><TH> Name </TH><TH> Description</TH></tr><tr ><TD>current_channel</TD><TD>The channel on which to perform A/D conversions</TD></tr><tr ><TD>gain</TD><TD>The gain setting to use for A/D conversions; valid settings are GAIN_1, GAIN_2, GAIN_4, and GAIN_8</TD></tr><tr ><TD>range</TD><TD>The range setting for A/D conversions; this is not to be confused with the term "A/D range" or "input range". Valid settings are RANGE_5 or RANGE_10</TD></tr><tr ><TD>polarity</TD><TD>The polarity setting to use for A/D conversions; valid settings are BIPOLAR or UNIPOLAR</TD></tr><tr ><TD>load_cal</TD><TD>If TRUE, the board will retrieve the calibration settings for the selected A/D range from the EEPROM and store it in the calibration circuit before performing the A/D conversion. This results in higher accuracy but causes a slight delay of a few milliseconds.  If FALSE, the board will use the current calibration settings and start the A/D conversion immediately.  Once a particular A/D range's calibration settings are loaded into the board, they will remain loaded until the board powers off or a new set of settings is loaded. When the board powers up, it automatically loads the settings defined as the boot mode. The boot mode is set with the autocal function.</TD></tr><tr ><TD>scan_interval</TD><TD>Determines the time delay between consecutive A/D conversions during an A/D scan operation. When you perform an A/D scan, the individual A/D samples will be spaced apart by exactly this amount of time. The time delay affects the maximum possible sample rate. For example, if you want to achieve a 100KHz sample rate, the maximum scan interval is 1/100KHz = 10 microseconds.<p>
<pre>    0    20 microseconds (default value)
    1    15 microseconds
    2    10 microseconds
    3    5 microseconds
</pre><p>
</TD></tr></table><p></div><p><em> <br> This page was last modified 17:52, 15 Mar 2004.<br>Copyright (c) 2004 Diamond Systems.  All Rights Reserved.</em><!-- Time since request: 0.15 secs. --></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -