Page 2 of 2

Re: How to pick a single signal from a wire and make it sticky?

Posted: Sun Feb 23, 2025 1:46 pm
by pacanimal
If you just want to select a signal, stick to it, and stop sending it when it's no longer present in the input, you don't need all of that.
This is what I use to throw away excess on my space platforms:
Screenshot 2025-02-23 143555.png
Screenshot 2025-02-23 143555.png (246.74 KiB) Viewed 192 times


All it is is a selector that selects the biggest signal (or smallest, or whatever you want, then a decider that checks for an existing stored signal. Two more deciders either pass through the new signal (if there isn't one) or loops the existing one. Any selected signal (biggest one, in my case) will remain until it disappears from the input (reaches 0) even if other signals grow larger than it while it's selected.

It will also pass through the remaining count at any given time, in case it's needed. You can easily make it static 1 instead if you want.