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.

Error clusters

Error clusters - LabVIEW Tutorial

From the course: Learning LabVIEW

Start my 1-month free trial

Error clusters

- [Instructor] A broken run arrow and the error list let you know about problems that need to be fixed before a program can run. But there are still lots of things that can go wrong once it begins. To demonstrate that, I've created this simple example which opens a text file and displays its contents. It consists of three functions and I'll press ctrl + h to open context help so I can view a little bit about each one. This first open file function takes in the file path of the file to open and then outputs a reference to it. The next read from text file function will read all of the contents of that text file and output it to this string indicator and then the third function will close the reference to that file. I have it set to read from this file called digits.text which simply contains the numbers zero through nine. If I run the VI, I get that output. Everything's working correctly. Now let's see what happens…

Contents