07-11-2017 10:04 AM - edited 07-11-2017 10:04 AM
Hi jm,
there is only one condition where I want them to stop
Ok, then why do you have multiple buttons when all you need is "one condition"?
That's what I meant with my remark…
other than it looks messy.
Messy code is always error-prone. In every programming language, not just LabVIEW!
And you are the one who has problems with its code…
How far have you come with cleaning up your VI(s)?
07-11-2017 10:39 AM - edited 07-11-2017 10:40 AM
"""
Ok, then why do you have multiple buttons when all you need is "one condition"?
That's what I meant with my remark…
"""
Individual control over each instrument (admittedly there were more than this required as well). It was useful whilst I grew the program to handle multiple instruments. I have now removed the extras and they are all linked to a single stop button.
"""
Messy code is always error-prone. In every programming language, not just LabVIEW!
And you are the one who has problems with its code…
"""
Point taken.
"""
How far have you come with cleaning up your VI(s)?
"""
There is still work to do, but I know how to do it. I have fixed the issues I had in my original post, but then other things required my attention.
07-11-2017 12:04 PM
Imagine text code with random indents. The compiler doesn't care, but if a fellow programmer wanted to strangle you for it, I would look the other way while it was happening.
This is what messy code is analogous to.