Pamux User’s Guide 101
STATUS/ERROR CODES
A 0 returned as a status or error code by a Pamux API indicates no error. The most common error codes
are listed below. The complete set of status and error codes can be found in the Pamux header files
(Pamux.H or Pamux.BAS).
Table 3-2: Status/Error Codes Returned by Pamux Driver APIs
Error Enum Name in Pamux.H or Constant in Pamux.BAS Description
0 PamuxNoError No error.
-1 (not used) Not an error code used by the Pamux driver.
-2 PamuxErrorAc28Handle A bad AC28 handle parameter was used.
-3 PamuxErrorBank A bad bank number parameter was used.
-4 PamuxErrorIoPort A bad I/O port parameter was used.
-5 PamuxErrorNoMoreHandle
No more handles could be allocated.
An attempt was made to open too many AC28s.
-6 PamuxErrorAc28Conflict
An attempt was made to open an AC28 with
parameters that conflicted with an AC28 already in use.
-7 PamuxErrorPoint A bad point or channel parameter was used.
PROGRAMING WITH THE PAMUX DRIVER