r/LabVIEW • CLD/Expert • Apr 14 '22

fml

Post image
36 Upvotes

18 comments sorted by

5

u/SeasDiver Champion Apr 14 '22

At least some of the wires are labeled and there is other documentation about why they are doing certain things.

3

u/L0ngp1nk CLD/Expert Apr 14 '22

It could be worse.

5

u/SeasDiver Champion Apr 14 '22

Did a LabVIEW 3 to LabVIEW 7.1 upgrade one time where the original source code used 1600 globals. They were not spread across the project, 95% of them were in 4 VI’s.

0

u/[deleted] Apr 15 '22

[deleted]

1

u/SeasDiver Champion Apr 15 '22

No, they did share data across the project. It’s just that 4 VI’s had roughly 400 global reads in each VI

30

u/hmmyeahcool Apr 14 '22

Every time someone posts something like this I look at it to make sure it’s not some of my old code

10

u/hutch2522 Expert Apr 14 '22

My thoughts exactly. We've all been there. I cringe at what I used to think was acceptable practices.

3

u/[deleted] Apr 14 '22

Glad I'm not the only one. A lot of my old stuff is super cringe.

19

u/etgohomeok Apr 14 '22

Case and point for why you shouldn't get an ultrawide monitor for LabVIEW.

5

u/wildwildwaste Apr 14 '22

That is immediately what I thought of when I saw the ultra wide post the other day.

5

u/xpxsquirrel Apr 14 '22

I have an ultrawide and don't create this level of rats nest. It's really just bad coders that do this crap

6

u/dtp502 Apr 14 '22

One of my old co-workers wrote his VIs the same way. He made some pretty complex programs and he was the only one that could tell wtf was going on.

There was never a note in sight either lol.

Personally I spend too much time making my VIs tidy and readable so it really bothered my OCD… but he was disorganized with everything so I guess a cluttered VI shouldn’t have been a surprise.

Great guy, just disorganized af lol.

4

u/Dapper_Internet_3837 Apr 14 '22

Like pulling a loose thread on a sweater and a sleeve falls off, lol.

3

u/[deleted] Apr 15 '22

Just click the auto-cleanup

1

u/BudgetInflation3089 Apr 14 '22

Waaa. I can totally relate

1

u/Opteron_SE Intermediate Apr 15 '22

ctrl u

and pray

0

u/[deleted] Apr 14 '22

[deleted]

3

u/L0ngp1nk CLD/Expert Apr 14 '22

Thankfully this code actually works. But if something big needs to change I'd be pushing to rewrite the whole project.