12-22-2022 12:26 AM - edited 12-22-2022 12:35 AM
Thank you Mr. Altenbach! I'm successfully able to change the tabs programmatically. I just did not know I had to place the tab control inside the loop. Thanks for the suggestion. I think it works as expected now (see attached VI). Also, big thanks for the event structure suggestion and great explanation how to set it up.
12-22-2022 12:42 AM
@GRCK5000 wrote:
Thank you Mr. Altenbach! I'm successfully able to change the tabs programmatically. I just did not know I had to place the tab control inside the loop. Thanks for the suggestion. I think it works as expected now (see attached VI). Also, big thanks for the event structure suggestion and great explanation how to set it up.
Isn't it frustrating when what you tell the code to do and what you want the code to do don't match? Hopefully with experience, the two converge more quickly (but it's not guaranteed). 😄
12-22-2022 01:12 AM
Yes, that's one of the most frustrating things ever. 😄
12-22-2022 01:45 AM
Hi GCRK,
@GRCK5000 wrote:
I just did not know I had to place the tab control inside the loop. Thanks for the suggestion.
Well, then you forgot to pray the daily mantra of "THINK DATAFLOW!" before starting to code! 🙂
12-22-2022 02:52 AM
Some 15 years down the road that still happens surprisingly often. 🙂
(aren't all bugs a case of this?)
12-22-2022 08:57 AM
@billko wrote:
Isn't it frustrating when what you tell the code to do and what you want the code to do don't match? Hopefully with experience, the two converge more quickly (but it's not guaranteed). 😄
You mind is playing tricks on you...
12-22-2022 10:03 AM - edited 12-22-2022 10:10 AM
@GRCK5000 wrote:
I think it works as expected now (see attached VI).
You still have way too much unnecessary code!
Here are some quick modifications.
12-22-2022 06:59 PM
Thanks Mr. Altenbach! These are definitely important points to take into account. See I just don't want my code to be functional. I also want my code to look like code from a pro and work efficiently taking into CPU usage and stuff. Thank you for this!