LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

finding errors returned by simple error handler vi

Solved!
Go to solution

While running the application in development environment and after implementing error handler code I found simple error handler vi is returning few errors which I am not sure where on the block diagram the source of the code would be. Is it possible to find this?

Kind Regards

 

0 Kudos
Message 1 of 4
(2,729 Views)

Usually the error codes will point you in the right direction.  But without the vi and not knowing what the error says I can't really help.

 

You can also try searching the ni site for the errors you are getting.  They should show up somewhere.

0 Kudos
Message 2 of 4
(2,718 Views)
Solution
Accepted by topic author K.Waris

I think I dint make my self clearer in my post earlier. So here is the explaination:

I have few variant to data functions within the while loops of a block diagram. When I run now my code after implementing error handler code I am getting errors. One of the way I could now think of finding which variant to data function is wired upwith wrong data type is by running vi analyser and find it in the report generated by vi analyser.

Lets see how it goes.

 

0 Kudos
Message 3 of 4
(2,707 Views)

Use probes on the error wire.  Put one probe before the block in question and one after, if there is no error going in and an error coming out that would be the piece reporting the error.

0 Kudos
Message 4 of 4
(2,702 Views)