📄 manual_error_codes.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html lang="en"><head><title>Error Codes - 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'>Error Codes</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="Error_Code_Table">Error Code Table</a></h2>
<p>
Here are all Universal Driver error codes along with a description of the error. Some additional error codes may be listed in <tt>dscud.h</tt> but they are not in use by the driver and are not documented here.
<p>
<table border=1 cellpadding=5><tr ><TH> Name </TH><TH> Error Code </TH><TH> Description</TH></tr><tr ><TD><strong><tt>DE_NONE</tt></strong> </TD><TD>0</TD><TD>No errors reported. The operation succeeded.
</TD></tr><tr ><TD><strong><tt>DE_HW_FAILURE</tt></strong> </TD><TD>1</TD><TD>Hardware failure reported. Check that you have specified the correct board type and board address. May indicate a problem with the board, or a hardware conflict at that board I/O address.
</TD></tr><tr ><TD><strong><tt>DE_SW_FAILURE</tt></strong> </TD><TD>2</TD><TD>Software failure reported. This is a general purpose error. Check the error string for more detailed information about what went wrong.
</TD></tr><tr ><TD><strong><tt>DE_SW_NOT_SUPPORTED</tt></strong> </TD><TD>4</TD><TD>Software does not support this operation. Check the board and driver documentation to see which features and driver functions are supported for that board.
</TD></tr><tr ><TD><strong><tt>DE_INVALID_PARM</tt></strong> </TD><TD>5</TD><TD>A parameter to the function is invalid. Check the parameters you are passing to the driver function. Check the error string for more detailed information about the parameter that was rejected.
</TD></tr><tr ><TD><strong><tt>DE_ALTERNATE_IN_PROGRESS</tt></strong> </TD><TD>6</TD><TD>Alternate interrupt operation in progress. You cannot have multiple interrupt operations of one type running at the same time. For example, if you call <a href="manual_DscADScanInt.html" class='printable' title ="DscADScanInt">dscADScanInt</a>() twice without calling <a href="manual_DscCancelOp.html" class='printable' title ="DscCancelOp">dscCancelOp</a>() between them, this error will be returned.
</TD></tr><tr ><TD><strong><tt>DE_NONE_IN_PROGRESS</tt></strong> </TD><TD>7</TD><TD>No interrupt operation in progress to cancel. Will occur if <a href="manual_DscCancelOp.html" class='printable' title ="DscCancelOp">dscCancelOp</a>() is called while no interrupt operation is running.
</TD></tr><tr ><TD><strong><tt>DE_BUFFER_ROLLOVER</tt></strong> </TD><TD>8</TD><TD>Pointer passed in + sizeof(data buffer) would roll over a data segment
</TD></tr><tr ><TD><strong><tt>DE_OVERFLOW</tt></strong> </TD><TD>11</TD><TD>Am9513A counter function overflowed
</TD></tr><tr ><TD><strong><tt>DE_DSCUDH_INVALID</tt></strong> </TD><TD>13</TD><TD>Header / library version mismatch. Check that the <tt>dscud.h</tt> header file you are including in your program is the same version of the Universal Driver as the library you are linking with. This version is checked using the version parameter passed to <a href="manual_DscInit.html" class='printable' title ="DscInit">dscInit</a>().
</TD></tr><tr ><TD><strong><tt>DE_INVALID_BOARD</tt></strong> </TD><TD>14</TD><TD>Invalid board type specified. Also returned if the <a href="manual_DSCB.html" class='printable' title ="DSCB">DSCB</a> parameter passed to a Universal Driver function is not a valid board identifier. Valid identifiers are obtained by calling <a href="manual_DscInitBoard.html" class='printable' title ="DscInitBoard">dscInitBoard</a>().
</TD></tr><tr ><TD><strong><tt>DE_BOARD_LIMIT_REACHED</tt></strong> </TD><TD>15</TD><TD>Tried to initialize too many boards. The maximum allowed is 10. Call <a href="manual_DscFreeBoard.html" class='printable' title ="DscFreeBoard">dscFreeBoard</a>() on boards which are not in use.
</TD></tr><tr ><TD><strong><tt>DE_INVALID_WINDRVR_HANDLE</tt></strong> </TD><TD>17</TD><TD>WinDriver initialization failed. Windows only.
</TD></tr><tr ><TD><strong><tt>DE_INVALID_WINDRVR_VERSION</tt></strong> </TD><TD>18</TD><TD>WinDriver version mismatch. Windows only.
</TD></tr><tr ><TD><strong><tt>DE_BAD_WINDRVR_BOARD_INIT</tt></strong> </TD><TD>19</TD><TD>WinDriver could not initialize the board. Windows only.
</TD></tr><tr ><TD><strong><tt>DE_OPERATION_TIMED_OUT</tt></strong> </TD><TD>20</TD><TD>Current operation timed out. May occur if a busy wait on a hardware status bit times out. May indicate a hardware problem or conflict.
</TD></tr><tr ><TD><strong><tt>DE_INVALID_WINDRVR_KP</tt></strong> </TD><TD>21</TD><TD>WinDriver kernel plug-in initialization failed. Windows only.
</TD></tr></table><p></div><p><em> <br> This page was last modified 19:01, 9 Feb 2004.<br>Copyright (c) 2004 Diamond Systems. All Rights Reserved.</em><!-- Time since request: 0.17 secs. --></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -