LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Eroor cluster

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

0 Kudos
Message 1 of 5
(3,472 Views)

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

----------------------------------------------------------
0 Kudos
Message 2 of 5
(3,467 Views)

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

 

 

0 Kudos
Message 3 of 5
(3,463 Views)

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:

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:

  • An illegal instruction has been attempted
  • Invalid data or code has been accessed
  • The privilege level of an operation is invalid
  • A program attempts to divide by zero. (Only for integers; with the IEEE floating point standard, this creates an infinity instead)

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.

0 Kudos
Message 4 of 5
(3,397 Views)

Hello Jay.

 

Hope your problem is solved. Do let us know if you have further issues.

 

Gaurav

0 Kudos
Message 5 of 5
(3,374 Views)