02-19-2020 06:17 PM
You said, "I can't remember though, how do I change the boolean so I can wire to "STOP IF TRUE" and not "CONTINUE IF TRUE"?"
It sure sounds like you want to change the mode of the while loop's terminal. If that isn't what you meant, then that message did not come through the way you wrote it.
It is far more likely for a LabVIEW programmer to not know that the terminal's mode can be changed then it is for a programmer of any language to not know about a Boolean "NOT" function.
02-20-2020 02:11 AM - edited 02-20-2020 02:15 AM
@ryan1776 wrote:
Disregard...I got it. As I was writing this I remembered.
If you were in my team and used this function as a boolean NOT you would get an explanation about clean coding the first time during code review and not so nice reminders every time after that if you dared to use this again in your code. That's not programming but the equivalent of playing with Lego bricks with a blindfold on!
For the Loop Termination terminal I also prefer to have the termination mode configured through the right-click option menu to how it needs to be, instead of adding NOTs to inverse the logic but if you prefer to use EVERYWHERE in every single loop in a program the same termination logic, that is an acceptable option.
02-20-2020 06:14 AM
@rolfk wrote:
@ryan1776 wrote:
Disregard...I got it. As I was writing this I remembered.
If you were in my team and used this function as a boolean NOT you would get an explanation about clean coding the first time during code review and not so nice reminders every time after that if you dared to use this again in your code. That's not programming but the equivalent of playing with Lego bricks with a blindfold on!
Super. Thanks for the pep talk. Normally I don't respond to these type of comments, I especially don't make those type of comments when I'm helping someone in other forums where they're asking a VERY newbie type question, because I was once a newbie too. As were you at some point.
I have clearly stated in previous messages that I'm very new to programming LabVIEW VI's and was asking how to build something I didn't know how to do.
I guess I'll go back to fumbling around with my Legos with a blindfold on.
Thanks to everyone else who gave actual help.
Ryan