LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Help regarding Lab windows CVI

I am trying to build a CLI exe written in C through Lab Windows CVI. It builds successfully with some warnings. I want to spawn that through JavaScript and process the output of that with JavaScript itself. The CLI exe when called displays some "Non-fatal runtime errors". Do you guys have any idea how can I remove them or prevent them from displaying.

0 Kudos
Message 1 of 2
(829 Views)

Hello,

I don't want to sound mean, but the obvious solution is to fix the problems, starting with the warnings. Your program obviously has flaws that need adressing, they may not be fatalm but it doesn't mean that they aren't important.

 

Then, normally non fatal runtime error are displayed only in debug mode, so compiling in release mode should take care of that. Caveat emptor.

 

Then there are ways to separate stderr from stdout when you pipe it into your Java reader. In Linux it's done with 2>&/dev/null and I recall there are similar techniques in Windows (but you'll have to look them up).

 

But first, fix your bugs !!!

0 Kudos
Message 2 of 2
(790 Views)