EasyManua.ls Logo

Aim MIL-STD-1553 - Figure 12.1-2 ERROR in Function Error Message; Figure 12.1-3 Example Error in Function Error Message

Aim MIL-STD-1553
502 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MIL-STD-1553 Reference Manual
438
438
Chapter 12 Troubleshooting
Errors can be detected and error messages displayed at various points in the communication
process as shown by the points 1-4. The error message the user can expect for each of these
points is described in the following sections.
Error Reporting by API S/W Library Function Point 1
Each API S/W Library function is designed to report function call programming errors to the
user via a message box. Each Library function performs parameter validation and, if an error is
detected, generates error return values which are provided within the error message display box.
The error return values are explained for each function call in its associated appendix.
Generally, errors reported at point 1 are due to out of range function call parameters. When the
API S/W Library function software detects an error at this point it will return the error message
shown in Figure 12.1-2 to the user and further processing of the command will be discontinued.
Figure 12.1-2 ERROR in function Error Message
ERROR in function
function call
: return value is
xxxx
(
associated error constant
definition
)
Where:
function call is the function utilized that contains/detected the error
xxxx is the four digit error code returned by the function call (detailed for each
function call in its associated Section 9n this document)
associated error constant definition is the constant parameter name associated
with the error code (detailed for each function call in its associated Section
9n this document)
The example error message in Figure 12.1-3 occurred when ApiCmdBCFrameDef function call
contained a parameter (minor frame ID) out of range.
Figure 12.1-3 Example Error in function Error Message
Once this type of error message is generated, the user should then return to the users program,
locate the function call in question and correct the specified error.
1

Table of Contents

Other manuals for Aim MIL-STD-1553