Skip to content

Commit

Permalink
Merge pull request #174 from SainsburyWellcomeCentre/issue-173
Browse files Browse the repository at this point in the history
Add heartbeat event stream to synchronizer sources
  • Loading branch information
glopesdev authored Oct 27, 2023
2 parents baa64fb + 80841f5 commit 5c05088
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Aeon.Acquisition/Aeon.Acquisition.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PackageTags>Bonsai Rx Project Aeon Acquisition</PackageTags>
<TargetFramework>net472</TargetFramework>
<VersionPrefix>0.5.0</VersionPrefix>
<VersionSuffix>build231010</VersionSuffix>
<VersionSuffix>build231011</VersionSuffix>
</PropertyGroup>

<ItemGroup>
Expand Down
16 changes: 16 additions & 0 deletions src/Aeon.Acquisition/ClockSynchronizer.bonsai
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@
<Expression xsi:type="rx:PublishSubject">
<Name>SynchronizerEvents</Name>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="harp:FilterMessageType">
<harp:FilterType>Include</harp:FilterType>
<harp:MessageType>Event</harp:MessageType>
</Combinator>
</Expression>
<Expression xsi:type="harp:FilterRegister">
<harp:FilterType>Include</harp:FilterType>
<harp:Register xsi:type="harp:TimestampSeconds" />
</Expression>
<Expression xsi:type="rx:PublishSubject">
<Name>Heartbeats</Name>
</Expression>
<Expression xsi:type="WorkflowOutput" />
</Nodes>
<Edges>
Expand All @@ -40,6 +53,9 @@
<Edge From="2" To="3" Label="Source2" />
<Edge From="3" To="4" Label="Source1" />
<Edge From="4" To="5" Label="Source1" />
<Edge From="5" To="6" Label="Source1" />
<Edge From="6" To="7" Label="Source1" />
<Edge From="7" To="8" Label="Source1" />
</Edges>
</Workflow>
</WorkflowBuilder>
16 changes: 16 additions & 0 deletions src/Aeon.Acquisition/TimestampGenerator.bonsai
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@
<Expression xsi:type="rx:PublishSubject">
<Name>SynchronizerEvents</Name>
</Expression>
<Expression xsi:type="Combinator">
<Combinator xsi:type="harp:FilterMessageType">
<harp:FilterType>Include</harp:FilterType>
<harp:MessageType>Event</harp:MessageType>
</Combinator>
</Expression>
<Expression xsi:type="harp:FilterRegister">
<harp:FilterType>Include</harp:FilterType>
<harp:Register xsi:type="harp:TimestampSeconds" />
</Expression>
<Expression xsi:type="rx:PublishSubject">
<Name>Heartbeats</Name>
</Expression>
<Expression xsi:type="WorkflowOutput" />
</Nodes>
<Edges>
Expand All @@ -40,6 +53,9 @@
<Edge From="2" To="3" Label="Source2" />
<Edge From="3" To="4" Label="Source1" />
<Edge From="4" To="5" Label="Source1" />
<Edge From="5" To="6" Label="Source1" />
<Edge From="6" To="7" Label="Source1" />
<Edge From="7" To="8" Label="Source1" />
</Edges>
</Workflow>
</WorkflowBuilder>

0 comments on commit 5c05088

Please sign in to comment.