Boolean Latch (LogiX node)
The Boolean Latch node essentially stores a boolean value which can be set, reset or toggled by input impulses.
Inputs & Outputs
Color | Label | Type |
Set | Impulse | |
Reset | Impulse | |
Toggle | Impulse |
Color | Label | Type |
OnSet | Impulse | |
OnReset | Impulse | |
Set | Boolean |
Usage
By default the * boolean output is False. If an impulse is received at Set the boolean output becomes True and an impulse is fired from OnSet. If an impulse is received at Reset the boolean output becomes False and an impulse is fired from OnReset. If an impulse is received at Toggle the boolean output changes to the oppose value.
Impulses are fired from OnSet whenever an impulse is received at Set or an impulse received at Toggle causes the boolean output to become True. Conversely, impulses are fired from OnReset whenever an impulse is received at Reset or an impulse recieved at Toggle causes the boolean output to become False.