PCI-AC51 User’s Guide
27
27
4: A: AppTitleChapter 4
A: Error Codes
Error Messages for Windows 7 and Vista
If one of the function calls returns false, it is an indication that an error or warning has occurred. To
inspect the message, use the lastError property on either the PCIAC51_CardList object or the
PCIAC51_Card object, depending on what function was called.
All error or warning messages are also logged in the Application area of the Event Log. The
messages will be grouped under the application name, “Opto 22 PCI-AC51.”
Error Codes for Windows 2000/XP
In general, most functions return an integer error number. Zero indicates no error. You may see the
following error codes when working with the PCI-AC51 SDK.
Code
Decimal
Code
Hex
Description
Remedy
0
0x0000
No Error Occurred
Not an error.
8192
0x2000
Invalid Handle
The handle that was passed to the OptoPM32.DLL is
invalid. The handle may represent a closed handle, or the
value of the handle may be corrupted. Inspect when the
handle flaw is first detected and ensure that the handle
was allocated with a successful open. Also trace a sudden
change in the value of the handle. The handle should
remain static between a PamuxPCICardOpen and a
PamuxPCICardClose.
8193
0x2001
Bad bank number used
The bank number specified is either less than zero or
greater than 63.
8194
0x2002
Bad I/O port used
A historic WinRT error that doesn’t apply to the
OptoPM32.DLL.
8195
0x2003
Out of handles to allo-
cate
The PCI-AC51 you attempted to open is already open.
8196
0x2004
The Open command has
conflicting parameters
Not currently used in the OptoPM32.DLL.
8197
0x2005
Point number is bad
The point argument is lower than zero or greater than 7.
Содержание PCI-AC51
Страница 8: ...FOR HELP PCI AC51 User s Guide 4 ...
Страница 30: ...SPECIAL PRECAUTIONS FOR THE SOFTWARE DEVELOPER PCI AC51 User s Guide 26 ...
Страница 34: ...ERROR CODES FOR WINDOWS 2000 XP PCI AC51 User s Guide 30 ...
Страница 38: ...LEDS PCI AC51 User s Guide 34 ...
Страница 40: ...CONVERTING APPLICATIONS THAT USE INP AND OUTP PCI AC51 User s Guide 36 ...