From the course: Learning LabVIEW

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: Handle errors

Solution: Handle errors - LabVIEW Tutorial

From the course: Learning LabVIEW

Start my 1-month free trial

Solution: Handle errors

(upbeat music) - [Man] To solve the challenge of fixing and handling errors, I'll start by finding out what needs to be fixed by clicking the broken run arrow to view the error list. The first error says that the wait millisecond VI contains an unwired or bad terminal. I'll click the Show Error button, and on my block diagram it looks like I forgot to connect this Constance. That's an easy fix, and that resolves that issue. The remaining error on my error list says that the While Loop condition terminal is not wired, and I'll get to that in a second. First I'll connect error wires between my three functions to pass along any unexpected errors that occur. Now, if there is an error it will get passed down that line so I'll need to handle it at the end. To do that I'll press Control + Space to bring up the quick drop search. I'll search for simple error handler, press Enter, and place that at the end. I'll connect to the…

Contents