Quote:
Originally Posted by apalrd
It's only messy if you write it messy.
Like any other language, you have to divide it up into multiple files/functions and design the core architecture well for it to be neat.
You can also use the Clean Up VI tool to auto-organize the block diagram to make it neater. In general, if the VI dosen't clean up well with the clean tool, it's too complicated.
|
Bingo.
If I jumped into C++, ignored classes, subroutines, and just tried to write everything out line-by-line, it would be ugly.
Just because you don't understand or haven't been taught how to write clean LabView code doesn't mean it isn't clean.
One basic rule: If your code gets bigger than one or two screen-widths, you're getting too complicated and not splitting it up into Sub-VI's efficiently.
There's a whole host of other rules, but being that this is a
Visual language, if you can't tell from a glance what it's doing, you're probably doing it wrong.