11-09-2008 10:58 PM
hi,
if i have a non zero error code in the error cluster and the status is false, is it a fatal error or a non-fatal error or a warnng?
Regards
Jay
11-09-2008 11:11 PM
Hi Jay,
The true or false status shows if it is an error or a warning. The code on the other hand is the type of error/warning
This can be confirmed by clicking help on the toolbar and clicking on something along the lines of error description or explanation of error. (Sorry about the ambiguity, I'm using a Japanese version of LabVIEW)
Hope it helps!
----------------------------------------------------------
National Instruments Japan
Applications Engineer Taiki Hoshi
----------------------------------------------------------11-09-2008 11:18 PM
hi ,
thanks for that info. But its not any error that i faced in an application. its a generic ques which i came thro while takinf an assesment. The ques is the same which i told and the options given were
its a warning
not an error
a fatal error
a non-fatal error
Which is the answer for this?
I thought it should be a fatal or a non-fatal error. not sure but.
Can u also mention the difference between fatal and non-fatal errors??
Regards
Jay
11-12-2008 08:35 AM
Hello Jay,
t.hoshi correctly said that it is a warning only. For a no error case, you must have error code 0 and error status False.
As t.hoshi said,"This can be confirmed by clicking help on the toolbar and clicking on something along the lines of error description or explanation of error."
For error case, you can not differentiate between fatal error and non-fatal error programatically. The difference between the two is as follows:
A fatal error is an error which causes a program to abort - and thus may return the user to the operating system. When this happens, data that the program was processing may be lost. A fatal error occurs typically in any of these cases:
A non-fatal error is an error in a computer program which does not result in termination of execution, but which causes the processor to invent an interpretation, issue a warning, and continue processing.
11-12-2008 10:09 PM
Hello Jay.
Hope your problem is solved. Do let us know if you have further issues.
Gaurav