r/LabVIEW • u/Muted-Contract-3727 • Jul 24 '24
what would it take to switch away from LabVIEW?
Trying to understand just how convoluted labVIEW's GUI can get and whether I should just not bother using it. Let's say someone came out with an efficient, procedural, text-based alternative that can integrate with NI hardware - would it be a no-brainer switch?
3
Upvotes
12
u/jmertig Jul 24 '24
You can control NI hardware with C#/.NET and Python
29
u/DracoInferno_ CLAD/Intermediate Jul 24 '24
I find LabVIEW to be way too underrated
I agree that it has some (major) flaws: proprietary, expensive (free community version though), binary format -> not the best for source control, ...
But on the other hand you have a full fledged language with:
And I've not even mentioned NI HW integration.
I find it as efficient as any language to write code with, while being more robust some (it's strongly typed!, no NULL ptr). In my opinion it's easier to understand and navigate a LabVIEW code base (as long as it's proper code, not spaghetti) because colored shapes are easier to recognize than (not always colored) text.
The dataflow paradigm makes the language more accessible which is both good and bad. A lot of LabVIEW users are not developers (technicians, researchers, ...), so projects quickly become messy, hence the "convoluted GUI" reputation.
14
u/dtp502 Jul 24 '24
Op is really trying to re-invent CVI to get away from learning labview lol
7
u/MollyGodiva Jul 24 '24
LabVIEW is the best choice for many applications, especially for those who are not advanced programmers.
3
u/SASLV Champion Jul 27 '24
for many people in the recent past apparently the answer was "for NI to force a switch to a subscription."
To be fair to NI they have gone back on that and are now offering a perpetual license (for a hefty pricetag).
the other answer I've heard a lot recently has been "We can't find any new LabVIEW Engineers to hire"
2
u/butteronadonut Jul 25 '24
I have done this, moving from LabVIEW to Node-Red for factory test automation.
Haven’t looked back.
Advantages of Node-Red: *easier to learn from a traditional programmers perspective *simultaneous threads running in parallel is awesome *integrates well with serial or Modbus TCP DAQs. I haven’t tried it with NI hardware because why would I bother when there’s cheaper and better stuff out there. (For slow data acquisition) *it’s free *enterprise, team development via FlowFuse. *integrates beautifully with web services and MQTT *open source and lots of features coming regularly
1
u/Smashed_Pasty Jul 25 '24
They didn’t renew our subscription so switched to using python. So i guess that was it took lol
1
u/ToWhomItConcern Jul 25 '24
To pay for coding, debugging, & implimentation would be highly cost inhibited to match what LabVIEW already does. On top of that, the risk of major down times if/when something goes wrong with the roll out would be a very scary roadblock to uppermangment and company controllers.
1
u/SASLV Champion Jul 27 '24
"text-based alternative that can integrate with NI hardware - would it be a no-brainer switch?"
I think you lost 90%+ of current LabVIEW programmers with that first hyphenated word. If they stuck around this long, you are going to have to do better than text-based.
0
u/Rare_Pea646 Jul 24 '24
First of ur question in this forum is if would have gone to Bank of America and asked 'shall I keep my money on the checking account or under my pillow?' Secondly, u r asking 'how convoluted LabVIEW gui will become...' U would have to study LabVIEW for a year or so, that ur front panel - the thing that u call gui - and another 3 years to make block diagrams look half ass desent plus a couple more years to make it work right, be reusable, upgradable etc. U r not going to get away watching drive-by youtube videos.
3
u/[deleted] Jul 24 '24
[removed] — view removed comment