LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A Thing of Nightmares. Recommendations when reworking abhorrent code?

Solved!
Go to solution

@Ben wrote:
he crashes I have seen with diagram clean-up and very bad code, I think there is at about 65535 pixels wide.

Yes, the coordinates are I16 and there is no validation, making things go haywire once you step over the invisible boundaries. Bam!

0 Kudos
Message 51 of 68
(1,172 Views)

Seems reasonable. In 5 weeks when threads start arising berating myself and my code, at least you'll know where to direct him! Not to fret though, when he eventually stumbles across the subVI which this thread is about, I'll be the last person on his mind.Smiley LOL

0 Kudos
Message 52 of 68
(1,161 Views)

For future reference, how does one quote using the "@User wrote:" for responses? Haven't figured that out yet.

0 Kudos
Message 53 of 68
(1,156 Views)

@etvg wrote:

For future reference, how does one quote using the "@User wrote:" for responses? Haven't figured that out yet.


Just press the [QUOTE] Button. (The name will not show in the composition window, but will be there when you post unless you edit way too much in that exact area :D)

0 Kudos
Message 54 of 68
(1,151 Views)

@altenbach wrote:

@etvg wrote:

For future reference, how does one quote using the "@User wrote:" for responses? Haven't figured that out yet.


Just press the [QUOTE] Button. (The name will not show in the composition window, but will be there when you post unless you edit way too much in that exact area :D)


Experiment.  The quote button seemed to have had issues for awhile.  I've just ignore it.  Right now they both show nothing before "wrote".  I want to see if it actually appears when I click post.  So there is a bug, but it is just in the editor screen not showing that name.

 

EDIT:  You're right.  The names do appear with @ after clicking post.  Thanks.

0 Kudos
Message 55 of 68
(1,145 Views)

@altenbach wrote:

@etvg wrote:

For future reference, how does one quote using the "@User wrote:" for responses? Haven't figured that out yet.


Just press the [QUOTE] Button. (The name will not show in the composition window, but will be there when you post unless you edit way too much in that exact area :D)


Ah, I see. To be honest I just overlooked it due to it's location. Never even saw it never to the font editing tools.

0 Kudos
Message 56 of 68
(1,142 Views)

@etvg wrote:

Seems reasonable. In 5 weeks when threads start arising berating myself and my code, at least you'll know where to direct him! Not to fret though, when he eventually stumbles across the subVI which this thread is about, I'll be the last person on his mind.Smiley LOL


Well then don't forget to mark the solution!


"Should be" isn't "Is" -Jay
0 Kudos
Message 57 of 68
(1,121 Views)

@JÞB wrote:

@etvg wrote:

Seems reasonable. In 5 weeks when threads start arising berating myself and my code, at least you'll know where to direct him! Not to fret though, when he eventually stumbles across the subVI which this thread is about, I'll be the last person on his mind.Smiley LOL


Well then don't forget to mark the solution!


Just can't help but have that feeling that someone out there is going to see this thread and post a better version of this code they've had stashed away! Smiley Wink

0 Kudos
Message 58 of 68
(1,118 Views)

I have actually worked with that exact code before! It had been used for about 8 years before I joined, so I didn't even mess with it. It's ok to leave it as is, it's not like the code rusts over time... 🙂

Message 59 of 68
(1,113 Views)
 wrote:

I have actually worked with that exact code before! It had been used for about 8 years before I joined, so I didn't even mess with it. It's ok to leave it as is, it's not like the code rusts over time... 🙂


Glad to see I am not the only one! That is true, if only it became better over time! 

0 Kudos
Message 60 of 68
(1,109 Views)