Page 1 of 1

Posted: 02 Sep 2016, 23:40
by Ariajazz
Counter sends a "1" value when it stops. How can I get a switch turn ON and stays ON when the counter stops?. It is similar to how to turn ON a switch with a button.

Thanks in advance

Posted: 03 Sep 2016, 02:47
by shawnb
Either the toggle module, or the toggle input on a switch???

Posted: 03 Sep 2016, 02:54
by oli_lab

Posted: 03 Sep 2016, 02:54
by shawnb
Actually, just feed the 'value' output of the counter directly into the switch value. It will be ON whenever there is a value & OFF whenever the counter is at 0. If you would like it reversed, use a not(a) module between the counter & the switch.

Posted: 03 Sep 2016, 10:10
by oli_lab
shawnb wrote:Actually, just feed the 'value' output of the counter directly into the switch value. It will be ON whenever there is a value & OFF whenever the counter is at 0. If you would like it reversed, use a not(a) module between the counter & the switch.
yes it is true but you'll need a "pass if changed" in between if you want to change the state of the switch by hand.

in my solution you can use only the set input with the counter and reset by hand etc... more options !

Posted: 03 Sep 2016, 16:18
by Ariajazz
Thanks to both Oli_lab and Shawnb. Counter STOP to switch TOOGLE worked. I did it before posting and did not work, I don“t know why... It is a very complex patch, for sure I did something wrong. Could not open your patch since I use USINE STAGE and I get an error message.