Page 1 of 1

Help. Selector not obeying index input

Posted: Tue Apr 19, 2022 5:10 pm
by chjan
I have a selector subject to a simple true/false signal, but as the snapshot illustrates, the selector refuses to make the switch. You see FALSE is coming in (from a user gui toggle button), while the bolean variable is still at TRUE, hence the selector is not triggered.

If I add a 25 ticker to the index input of the selector, it works.
It also works when the state is FALSE, and the user make a change to TRUE, but TRUE to FALSE transition is the problem. It does not work.

I cannot remember having seen this behaviour before, so:

What are the complete set of possible reasons for this to happen?
As a remedy, how to scrupolously fire a trigger to the selector when the boolean changes?

Screenshot 2022-04-19 at 18.04.58.png
Screenshot 2022-04-19 at 18.04.58.png (66.89 KiB) Viewed 7487 times

Re: Help. Selector not obeying index input

Posted: Tue Apr 19, 2022 8:05 pm
by martinvicanek
chjan, it is hard to tell only from the screenshot. As I understand it, connectors may have a state but it will only propagate to the next module or prim if there is a trigger. (There are downstream and upstream triggers! :o :? ). We would need a relevant part of the schematic to see why apparently there is a trigger for FALSE to TRUE transitions but not in the opposite case.

Oh, and since this is about FS alpha, better post it on Slack or Discord. ;)