LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

File Size Issue



@bugsmashers wrote:

And it's a good excuse to upgrade the PC too!! Smiley Wink


Once you clean up your code, it may no longer be necessary for the PC upgrade, so get the new PC soon and blame it on the PC.

😄

Message 11 of 17
(1,058 Views)
I use local variables whenever it is not terribly simple to wire things together. Do the locals take a lot more space?


Don't worry about space if you're passing an I32 or a DBL or something small, but the bigger the structure you're passing, the more wasted space locals consume. That's because when you read a local, you make a COPY of the data it contains.

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 12 of 17
(1,052 Views)

Well, there's your problem. You need to have your code much more deeply nested. Keep grouping things functionally.

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 13 of 17
(987 Views)

Oh yes, one more thing... Good large professionally-written applications don't look large, or even very complex. That is the key.

A good book to read about software development in general is: "Software Fundamentals: the collected papers of David L Parnas". It's not about LV specifically, but it will teach you 99% of what you will ever need to know about writing code.

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 14 of 17
(986 Views)

Thanks, I'm overwhelmed by the response.

Ben

0 Kudos
Message 15 of 17
(981 Views)


@mikeporter wrote:

"Software Fundamentals: the collected papers of David L Parnas".



Wow Mike,

This brings back memories..  It's been a while since I've seen the name David Parnas.  I went to one of his conference many moons ago.  Very good reading, for sure.  I think he was a professor at Queen's U (Kingston). 

As for the recommendations within this thread, it looks like everyone points towards smaller function-specific vi's.  😄
 
Message 16 of 17
(969 Views)

Currently he's at Limerick in Ireland, and isn't doing any more writing Smiley Sad . All his recent publishing has been limited to the slides that accompany his lectures. I would love to have the opportunity to hear him speak sometime.

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 17 of 17
(961 Views)