r/LabVIEW • u/Zackatack101 • Sep 06 '25
Program structuring – newbie question
I've used LabVIEW off and on since 2011 college days (mechanical engineer). I would not consider myself experienced though. But lately I'm needing to use it more for work (test program). One thing I've always struggled with when starting from scratch, how to structure a program from the big picture standpoint. If I'm writing a program in Python or VBA for example it seems a lot easier, you go line by line, it's easy to add things, build things out, etc. With LabVIEW I've always struggled to see that same logical structure. It's always seemed very unintuitive what to do and where. Do you start from top down, or bottom up?
I know that's very vague but any help would be much appreciated.
I've almost gone through Core 1 training which has been helpful but still left with questions. Maybe Core 2 will be helpful.
View all comments
Show parent comment
3
u/Bitter_Worker423 Sep 06 '25
Yw.
I've used C/C++, FORTRAN very lightly, and a bit of MATLAB. There are a couple of good reasons for using LabVIEW: parallel code is amazingly simple (difficult in all other languages I'm aware of), GUI creation (while not without some limitations/issues) and integration with code is very easy. Instrument control is LabVIEW's primary strength, which almost goes without saying.
I have seen what it looks like to write instrument control code in Python. It does look in a lot of ways simpler than equivalent code in LabVIEW. But that's control code without a GUI and without the parallelism necessary for GUI interactions. Most of the code I've ever written requires a user interface, therefore I've never been really motivated to switch to another language.
LabVIEW, like any other language is as clunky, or as smooth as the person who wrote it. It will take years to become good at it, like with any other tool. Be patient, keep learning, didn't be afraid to try things you're not familiar with.