LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What architecture and good practice should I use for a massive application.


@Yamaeda wrote:

@VinnyAstro wrote:

I've programmed a bit in C++ (and matlab, I'm in the "that's a language too" team 😛 ) so I have some experience in OO already. 

Don't we all know that feeling all too well, telling people that G is a real language. 🙂

/Y


But G is a real language 😉

 

Just kidding, Matlab seems to be ever more serious the last few versions.

 

Like LabVIEW, it perhaps suffers from the "but it's easier if I do it all here" problem - why bother with functions, right? 


GCentral
Message 21 of 32
(2,296 Views)

@VinnyAstro wrote:

@Yamaeda wrote:

@VinnyAstro wrote:

I've programmed a bit in C++ (and matlab, I'm in the "that's a language too" team 😛 ) so I have some experience in OO already. 

Don't we all know that feeling all too well, telling people that G is a real language. 🙂

/Y


Hahaha yes exactly. Software engineers can be very close-minded sometimes ^^


Not all SW Engineers. My background is computer science and started my career in SW engineering working on embedded system in C and assembly. Switched to LabVIEW on test automation in the 90s and fell in love with the language. I think universities are doing a disservice to CS majors by avoiding graphical programming and data flow more generally. I also think that the influx of python is hurting since as a language it is very loose and encourages quick and dirty programming rather than good design.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 22 of 32
(2,280 Views)

I am reminded of this:

Guru.png

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 23 of 32
(2,254 Views)

I completely forgot that Labview features a Navigation pane, it's gonna save my life 😄

 

Navigation pane.png

Message 25 of 32
(2,189 Views)

@VinnyAstro wrote:

I completely forgot that Labview features a Navigation pane, it's gonna save my life 😄


Just let me state that if you find yourself using the Navigation pane, 99% of the time you are doing stuff wrong.  Stuff wrong usually include the architecture (maybe use a State Machine or a Queued Message Handler) and/or not enough modularity (ie subVIs).



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 26 of 32
(2,187 Views)

@crossrulz wrote:

@VinnyAstro wrote:

I completely forgot that Labview features a Navigation pane, it's gonna save my life 😄


Just let me state that if you find yourself using the Navigation pane, 99% of the time you are doing stuff wrong.  Stuff wrong usually include the architecture (maybe use a State Machine or a Queued Message Handler) and/or not enough modularity (ie subVIs).


That's a nice summary.

Unfortunately I am inheriting someone else's program, so I'll have to deal with it.

Message 27 of 32
(2,185 Views)

@VinnyAstro wrote:

@crossrulz wrote:

@VinnyAstro wrote:

I completely forgot that Labview features a Navigation pane, it's gonna save my life 😄


Just let me state that if you find yourself using the Navigation pane, 99% of the time you are doing stuff wrong.  Stuff wrong usually include the architecture (maybe use a State Machine or a Queued Message Handler) and/or not enough modularity (ie subVIs).


That's a nice summary.

Unfortunately I am inheriting someone else's program, so I'll have to deal with it.


I would have a very hard time keeping that code. I would most likely throw it away and rewrite it. Good luck to you. Sorry you have to deal with that.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 28 of 32
(2,180 Views)

@VinnyAstro wrote:

I completely forgot that Labview features a Navigation pane, it's gonna save my life 😄

 

Navigation pane.png


That some oxymoron code you got there. Bad because huge (among other things), Good because it is extremely neat, no crossed wires, etc.

 

mcduff

0 Kudos
Message 29 of 32
(2,174 Views)

@mcduff wrote:

@VinnyAstro wrote:

I completely forgot that Labview features a Navigation pane, it's gonna save my life 😄

 

Navigation pane.png


That some oxymoron code you got there. Bad because huge (among other things), Good because it is extremely neat, no crossed wires, etc.

 

mcduff


Ah but the resolution isn't good enough for seeing all the wires 😉 (And I wouldn't have shared the picture if it was, this is not a horror thread. #censored)

0 Kudos
Message 30 of 32
(2,131 Views)