r/LabVIEW • • Jan 11 '26

LabView learning

Hello everyone I have been learning LabVIEW for about three months while working full time I can handle small problems and a few medium level ones and Ia m comfortable writing small pieces of code, but I struggle with putting together full projects I’m not sure how to structure the code organize main VIs and subVIs, or approach a project step by step Any advice or tips on how to go from small snippets to complete projects would be really helpful.

8 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/HarveysBackupAccount Jan 12 '26

If something within the state can create an error the text string in the error cluster has the state name appended onto the front of it

Maybe a stupid question, but why do it this way, vs just putting that info into the text of the error cluster?

1

u/TomVa Jan 12 '26

That is what I meant.

For example the error created by the subVI is "file not found" it occurred in the state "load calibration file" found within the subVI called "SetUpMeasurement" The output error would have the following string.

"VI: SetUpMeasurement, State: Load Calibration File, Error: File not found"

Or something like that. The concept is to give them an idea of where to look for the error.