11-25-2024 03:47 AM
11-25-2024 04:05 AM
Is this a test?
Please express your question.
11-25-2024 05:48 AM
Why are the wires all zig-zaggy? Don't you care about the quality of your work?
11-25-2024 09:08 AM
@paul_a_cardinale wrote:
Why are the wires all zig-zaggy? Don't you care about the quality of your work?
It's not just for aesthetics, either. Wires that are unkempt are hard to follow making debugging difficult. Maybe a wire runs behind a VI but it looks like it's connected. And it needs to be connected. Or it gets lost in a rat's nest of wires and you don't know where it is supposed to go.
Spaghetti code is like random indents in a text-based language. The compiler doesn't care, but if you did this and someone came in looking to kill the person who did this, I'd point to your desk and excuse myself early for lunch so I could have plausible deniability for whatever came next.
11-25-2024 09:42 AM
If you want people to look at your code, you need to make it easy. Do a File > Save For Previous Version... and save it for 2018 (many people use older versions) and then post the VI.
No one is going to look at 10 pictures and try to put your logic together. 😉
11-25-2024 11:51 AM
@billko wrote:
@paul_a_cardinale wrote:
Why are the wires all zig-zaggy? Don't you care about the quality of your work?
It's not just for aesthetics, either. Wires that are unkempt are hard to follow making debugging difficult. Maybe a wire runs behind a VI but it looks like it's connected. And it needs to be connected. Or it gets lost in a rat's nest of wires and you don't know where it is supposed to go.
Spaghetti code is like random indents in a text-based language. The compiler doesn't care, but if you did this and someone came in looking to kill the person who did this, I'd point to your desk and excuse myself early for lunch so I could have plausible deniability for whatever came next.
I'm retired now, but I spent a significant percentage (probably more than half) of my time cleaning up the software messes left behind by others (I referred to myself as a software janitor). So I have little regard for anyone who makes no attempt to do clean work.
11-25-2024 02:05 PM - edited 11-25-2024 02:07 PM
You did not add any text so we don't even know what your question is. A subject of "writing a program with temp" is not any clearer (%TEMP% folder? Temperature? something else?)
Just glancing at the picture, there is a lot of code smell (it reeks!!!!!).
As has been said, attach your VI (saved for previous, 2020 or below) and explain exactly the requirements and how it is supposed to be used.