From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-23-2018 02:46 AM
Hi,
I'm using the build.vi of the Application Builder to build several projects in LabView. I connected the errorIn and errorOut-Connectors to handle all the exceptions coming up, while my build is running.
My Ambition is to run that VI in the background and don't get any error-Windows prompted. If an error comes up, I want it to be written in a Textfile.
My question is, how can I stop labview showing error Windows, when a build fails?
Thanks
04-23-2018 02:57 AM
If you connected output error wires, you should be safe. However, if you want the program to continue with the next build, don't connect the wire to the next build vi, or use Clear Errors vi between consecutive builds.
Post your vi for a better advice.
04-23-2018 03:52 AM
Hi,
I tried your solution, but it didn't work.
I also tried to figure out, at which point of runtime the error-window occures. It's inside the build.vi. So the build.vi prompts the error-window and returns the error at the error-out-connector.
04-23-2018 06:14 AM
Since the block diagram of Build.vi is password protected, your goal cannot be reached.
04-23-2018 07:01 AM
The Error Message contains a lot of information. Did you deliberately "blank out" the names of the VIs listed in the Error Message as the VIs with the errors? If so, it would be like asking us to help you with a Jigsaw Puzzle, but first you blind-fold us! There's also no description of the code design you are trying to build, nor any VIs for us to scrutinize to find (your) error (it is possible this is a bug in LabVIEW, but much more likely it is an error in your code, or a missing toolkit or other problem with LabVIEW Installation, but without data, it is pointless to speculate ...).
Bob Schor
04-23-2018 07:03 AM
Oh dear...
But thanks for your help
04-23-2018 07:52 AM
I know about the missing installations.
My purpose is, to intercept such Errors in my VI and log them into a Textfile. The content of the error isn't important at the moment, it's the way the error is reported to me (should be a textfile, not Popupwindow)
04-23-2018 08:29 AM
By design, Builds are something one does "manually" by interacting with the Project. There are VIs that will let you programmatically build Applications by calling certain VIs, and it is possible (but unknown by me) that doing the Build in this manner would place the Errors on the Error Iine, where you could intercept and log them ...
Bob Schor