DocumentCode
3437302
Title
A better way to handle instrument error checking
Author
Anderson, J.L., Jr.
Author_Institution
NSWC Corona Div., CA
fYear
2005
fDate
26-29 Sept. 2005
Firstpage
21
Lastpage
25
Abstract
The LabWindows/CVItrade "C" language compiler has no built in method of handling errors that occur in functions or drivers. The usual method is to use an "if" statement for every function call made, but this is very tedious and generates a lot of code. Often programs simply ignore errors and keep on going and depend on an eventual test failure to prevent acceptance of the item being tested. This leads to the wrong conclusion about what really went wrong. Other languages such as C++ have "try", "catch" and "throw" for exception handling. This paper explores several methods of handling the problem with much less code
Keywords
C++ language; automatic test software; error correction codes; program compilers; C language compiler; LabWindows/CVI; automatic test software; error handling; eventual test failure; instrument error checking; Built-in self-test; Corona; Counting circuits; Instruments; Programming profession; Safety devices; Signal detection; Testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Autotestcon, 2005. IEEE
Conference_Location
Orlando, FL
Print_ISBN
0-7803-9101-2
Type
conf
DOI
10.1109/AUTEST.2005.1609094
Filename
1609094
Link To Document