![background image](http://html1.mh-extra.com/html/aim/amc429/amc429_reference-manual_2871731209.webp)
Software Library Reference Manual for VME 429
199
Section 10 – Troubleshooting
Error Reporting by API S/W Library Function - Point 4
At point 4, execution will be returned to the original API S/W Library function issuing
the command. The API S/W Library function will receive a status code returned by
ApiIo.
If the status code is an error code (which has already been interpreted by
ApiIo) then upon completion of the API S/W Library function where final error
reporting is performed, an error message
"ERROR in function "
message as
shown in Figure 10.1-2 will occur with function name equal to the calling API S/W
Library function. Since the error code is reserved for the Target S/W errors, it will be
interpreted as (unknown) by the API S/W Library function.
The following example in Figure 10.1-7 shows the error messages generated by
ApiIo and the API S/W Library function when the Target S/W detected an error
(these messages were generated when using an API1553 module which has a
similar error reporting mechanism.) The following error messages occurred when
ApiCmdCalCplCon
was issued after the Target module had been closed
(
ApiClose
).
Figure 10.1-7 Example Target S/W / Host API S/W Library Function Error Reporting
D3h = Driver
Command Code for
ApiCmdCalCplCon
4
Summary of Contents for AMC429
Page 2: ......