@@ -145,26 +145,20 @@ In order to translate our simple reaction time task in the previous exercises in
145145- Double-click on the [ ` SelectMany ` ] node to open up its internal specification.
146146
147147::: workflow
148- ![ Stimulus presentation] ( ../workflows/hobgoblin-reactiontime-stimulus-response.bonsai )
148+ ![ Stimulus presentation] ( ../workflows/hobgoblin-reactiontime-stimulus-response-input .bonsai )
149149:::
150150
151151- Insert a [ ` SubscribeSubject ` ] operator. Configure the ` Name ` property to ` Hobgoblin Events ` .
152152- Insert a [ ` Parse ` ] operator after ` Hobgoblin Events ` . Configure the ` Register ` property to [ ` TimestampedDigitalInputState ` ] .
153-
154-
155-
156-
157-
158-
159-
160-
161-
153+ - Insert a [ ` Take ` ] operator and set its ` Count ` property to 1.
154+ - Delete the ` Source1 ` operator.
155+ - Connect the [ ` Take ` ] operator to ` WorkflowOutput ` .
156+ - Run the workflow a couple of times and validate the state machine is responding to the button press.
162157
163158<!-- Reference Style Links -->
164159<!-- [`AnalogData`]: xref:Harp.Hobgoblin.AnalogData -->
165160<!-- [`AnalogDataPayload`]: xref:Harp.Hobgoblin.AnalogDataPayload -->
166161[ `BehaviorSubject` ] : xref:Bonsai.Reactive.BehaviorSubject
167- <!-- [`Boolean`]: xref:Bonsai.Expressions.BooleanProperty -->
168162[ `CreateMessage` ] : xref:Harp.Hobgoblin.CreateMessage
169163[ `Delay` ] : xref:Bonsai.Reactive.Delay
170164[ `Device` ] : xref:Harp.Hobgoblin.Device
@@ -175,12 +169,14 @@ In order to translate our simple reaction time task in the previous exercises in
175169[ `DigitalOutputSetPayload` ] : xref:Harp.Hobgoblin.CreateDigitalOutputClearPayload
176170<!-- [`KeyDown`]: xref:Bonsai.Windows.Input.KeyDown -->
177171<!-- [`Merge`]: xref:Bonsai.Reactive.Merge -->
178- [ `Parse` ] : xref:Harp.Hobgoblin.Parse
179172[ `MulticastSubject` ] : xref:Bonsai.Expressions.MulticastSubject
173+ [ `Parse` ] : xref:Harp.Hobgoblin.Parse
180174[ `PublishSubject` ] : xref:Bonsai.Reactive.PublishSubject
181175[ `Repeat` ] : xref:Bonsai.Reactive.Repeat
176+ [ ` SelectMany ` ] : xref: Bonsai.Reactive.SelectMany
182177[ `Sink` ] : xref:Bonsai.Reactive.Sink
183178[ `SubscribeSubject` ] : xref:Bonsai.Expressions.SubscribeSubject
179+ [ `Take` ] : Bonsai.Reactive.Take
184180[ `Timer` ] : xref:Bonsai.Reactive.Timer
185181<!-- [`TimestampedAnalogData`]: xref:Harp.Hobgoblin.TimestampedAnalogData -->
186182[ `TimestampedDigitalOutputSet` ] : xref:Harp.Hobgoblin.TimestampedDigitalOutputSet
0 commit comments