NI Home > Community > NI Discussion Forums

BreakPoint

Showing results for 
Search instead for 
Do you mean 
Reply
Knight of NI
Ray.R
Posts: 10,584
0 Kudos

Re: Nightmare...

Joe,

 

I like your signature:  "NOTHING IS EVER EASY"

 

 

 

______________________________________________________________________
Kudos!!!! Gimme Kudos!!!! It's that little golden star on the left below my avatar... :smileyhappy:
Active Participant
Joe_H
Posts: 1,342
0 Kudos

Re: Nightmare...

Thanks Ray...




Joe.
"NOTHING IS EVER EASY"
Trusted Enthusiast
Yamaeda
Posts: 2,849
0 Kudos

Re: Nightmare...


Ray.R wrote:

-sigh-

 

5 screens wide by 3 screens tall. (that's just one VI)

 

Must refactor in 1 day.

 

- sigh -


Box random parts and Create sub-vi, let it save by default name and icon ... :smileywink:

/Y

LabVIEW 8.2 - 2013
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV
Active Participant
jyang72211
Posts: 1,436
0 Kudos

Re: Nightmare...

That sounds like a serious pain.  I just run the vi, look at the functionality, create a new spec, and re-code the whole thing to make it 30 screen side :smileyhappy:.  

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
Knight of NI
Ray.R
Posts: 10,584
0 Kudos

Re: Nightmare...

Well...  I jerry-rigged a solution and jumped from one frying pan into more fire.. 

Then I get to jump from the fire into the frying pan again..

 

I still strongly believe that people who program should learn how to program....

 

Well... I guess fixing code is good business..  :smileywink:

 

I needed to rant  (yeah... the above is not much of a rant...)

______________________________________________________________________
Kudos!!!! Gimme Kudos!!!! It's that little golden star on the left below my avatar... :smileyhappy:
Active Participant
Broken_Arrow
Posts: 1,853

Re: Nightmare...


Ray.R wrote:

Well...  I jerry-rigged a solution and jumped from one frying pan into more fire.. 

Then I get to jump from the fire into the frying pan again..

 

I still strongly believe that people who program should learn how to program....

 

Well... I guess fixing code is good business..  :smileywink:

 

I needed to rant  (yeah... the above is not much of a rant...)


Rant away Ray!  Your task reminds me of a program I worked on where I tried to look up how many Global References there were and the search thingy could not find them all, and stopped at 2500. Many of these Globals were Write-Only. There were inter-mixed names like Motor_Start and MotorStart. Many were doubled up - I guess to increase current handling.

Richard





Knight of NI
Ray.R
Posts: 10,584

Re: Nightmare...

Must be a programmer from the same tree..

This one has multiple entries within a cluster..

 

Example:

 

hello

 hello

hello1

 hello1

 

That's not so bad.  Altenbach would have a field day with all the Rube Goldberg code..  Well...  basically the code is a giant Rube Goldberg.  I'm sure when I'm done with it it will seem very simple..  It takes hours just to try to understand why a simple sub-vi is coded in that way. 

 

All numerics are converted to and from boolean arrays <=> U8 arrays..  to then be passed to another sub-vi as a number.  -SIGH-

 

I'll have to dive into the wine...  maybe something stronger... tonight.

 

 

______________________________________________________________________
Kudos!!!! Gimme Kudos!!!! It's that little golden star on the left below my avatar... :smileyhappy:
Trusted Enthusiast
Mark_Yedinak
Posts: 3,056

Re: Nightmare...


Ray.R wrote:

I still strongly believe that people who program should learn how to program....




I couldn't agree more. While it is true non-programmers can create very simple programs in LabVIEW with little or no programming experience large applications require someone who is a programmer. And this is where NI has failed over the years. Continually marketing it as a language anyone could use. They set the expectation that it's so easy anyone can do it. As a result we end up with these large monstrosities which end up giving LabVIEW a bad name. The code either works poorly or not at all and rather than blame the person who wrote the code they blame LabVIEW as reason it failed.



Mark Yedinak

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Knight of NI
Ray.R
Posts: 10,584
0 Kudos

Re: Nightmare...

Perfectly said Mark.

 

I deleted the long paragraphs originally written as the reply.  I best be quiet...

I'll go back to the horrible code. 

______________________________________________________________________
Kudos!!!! Gimme Kudos!!!! It's that little golden star on the left below my avatar... :smileyhappy:
Active Participant
Broken_Arrow
Posts: 1,853

Re: Nightmare...


Mark Yedinak wrote:
[...]The code either works poorly or not at all and rather than blame the person who wrote the code they blame LabVIEW as reason it failed.

Well said. It pains me when LabVIEW gets the heat, rather than poor management and unqualified programmers.
The program I was referencing above was used in a product (not a test environment). The owners of the equipment had gotten wind that the code was LabVIEW. They chatted up some "seasoned" C++ programmers at the site, and they all jumped on the anti-LabVIEW bandwagon. Every bit of that products bad behavior was traced to race conditions.
Richard