PCI-AC51 OPTO 22, PCI-AC51 Datasheet - Page 21

Computers, Interface Cards

PCI-AC51

Manufacturer Part Number
PCI-AC51
Description
Computers, Interface Cards
Manufacturer
OPTO 22
Datasheet

Specifications of PCI-AC51

Peak Reflow Compatible (260 C)
No
Leaded Process Compatible
No
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Error Codes
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 Toolkit.
Decimal
Code
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
0
0x200A
0x200B
0x0000
0x2000
0x2001
0x2002
0x2003
0x2004
0x2005
0x2006
0x2007
0x2008
0x2009
Code
Hex
No Error Occurred
Invalid Handle
Bad bank number used
Bad I/O port used
Out of handles to allo-
cate
The Open command has
conflicting parameters
Point number is bad
Could not acquire access
to B6 DPRAM
Power-up clear /B6
needs configuring
B6 didn’t update – PC
polling too quick
Watchdog timeout has
occurred
Wrong OptoPMux DLL
(trying to open ISA card)
Board ID doesn’t exist in
system
Description
CHAPTER 2: PROGRAMMING WITH THE PCI-AC51 TOOLKIT IN WINDOWS
Not an error.
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.
The bank number specified is either less than zero or
greater than 63.
A historic WinRT error that doesn’t apply to the
OptoPM32.DLL.
The PCI-AC51 you attempted to open is already open.
Not currently used in the OptoPM32.DLL.
The point argument is lower than zero or greater than 7.
The attempt to gain access to the B6 or SNAP-B6 analog
memory failed. This is not an error; it may mean that the
brain was involved in reading and writing to this memory
array.
The B6 or SNAP B6 was recently powered up due to a
manual power enable or from a power dip event, causing
the brain to reset. This brain may require special reconfigu-
ration.
The rate of the PC’s polling is very fast. This is not an error.
It only indicates that the application should be modified to
decrease the analog scan intervals. This code may be
seen on faster CPU computers.
The brain reports a watchdog timeout. This is caused when
a communication cycle to the bus exceeds the watchdog
timeout time.
This error indicates that a call was made to a function that
is not currently supported in this version of the
OptoPM32.DLL.
The PCI board number matching the Opto 22 vendor ID
(0x148A) and device ID (0xAC51) could not be found.
Remember that board IDs start from zero and end at “n-1”
(where n is the number of boards).
PCI-AC51 User’s Guide
Remedy
17
17

Related parts for PCI-AC51