05-28-2022 03:56 PM - edited 05-28-2022 04:23 PM
My goal is to turn LED ON and OFF automatically every time I change the number in the input field (CONTROL).
I mean I am able to do it with my code. I kind of feel like there has to be a simple way to do this.
Can you please share your code or idea?
P.S: If you think the way I do this is the best and simplest way, let me know too.
Thanks!
See attached VI.
P.S: Event structure is excluded.
Solved! Go to Solution.
05-28-2022 05:22 PM - edited 05-28-2022 05:54 PM
As always, your code is just plain silly!
05-28-2022 05:25 PM
@GRCK5000 wrote:
My goal is to turn LED ON and OFF automatically every time I change the number in the input field (CONTROL).
What does that even mean?
05-28-2022 05:33 PM
If you look in the comparison palette, there is this function. You could use it.
(NOTE: It will also trigger on first call).
Alternatively, you could make your own, e.g. as follows:
(NOTE: This will not trigger on first call)
05-31-2022 09:42 AM - edited 05-31-2022 09:43 AM
Thanks Mr. Altenbach for the feedback. This will help me work hard on improving my code and understanding better what I am doing.
05-31-2022 09:45 AM
This is so simple. I think so hard for no reason. smh