06-08-2023 10:53 AM
So If I input 2, I would like the LED to go ON and OFF 2 times. 3 > 3 times, and so on. I tried, but failed.
Can someone help?
See my attached code.
Solved! Go to Solution.
06-08-2023 11:30 AM
When does the count get reset? Is there supposed to be a button to start the blinking?
06-08-2023 11:41 AM - edited 06-08-2023 11:42 AM
Initially, the LED will be OFF. So let's say I input number "1", I should expect the LED to turn ON then OFF once. If I input 100, I should expect the LED to turn ON and OFF 100 times. So there is no start button to start blinking. My input is the trigger basically.
Feel free to suggest too. I'm open for suggestions.
06-08-2023 12:57 PM - edited 06-08-2023 12:58 PM
This is what I came up with. I used the Is Value Changed.vim to detect the input changing and perform the reset.
06-08-2023 01:55 PM
Thanks crossrulz!!! It works as expected.
06-08-2023 07:41 PM
Here's how I would do it.
06-09-2023 01:33 AM
Can't see paul's idea due to VI version, but here's mine.
06-09-2023 10:58 AM
06-09-2023 10:38 PM
@GRCK5000 wrote:
Initially, the LED will be OFF. So let's say I input number "1", I should expect the LED to turn ON then OFF once. If I input 100, I should expect the LED to turn ON and OFF 100 times. So there is no start button to start blinking. My input is the trigger basically.
Feel free to suggest too. I'm open for suggestions.
You need to be significantly more detailed in the requirements.
06-09-2023 10:59 PM