-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #189 from SainsburyWellcomeCentre/file-source
Add simulated video source module
- Loading branch information
Showing
2 changed files
with
85 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<WorkflowBuilder Version="2.8.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:aeon="clr-namespace:Aeon.Acquisition;assembly=Aeon.Acquisition" | ||
xmlns:rx="clr-namespace:Bonsai.Reactive;assembly=Bonsai.Core" | ||
xmlns:sys="clr-namespace:System;assembly=mscorlib" | ||
xmlns="https://bonsai-rx.org/2018/workflow"> | ||
<Description>Provides a video module simulated from a file for testing and debugging of environments with video pipelines.</Description> | ||
<Workflow> | ||
<Nodes> | ||
<Expression xsi:type="ExternalizedMapping"> | ||
<Property Name="Name" DisplayName="TriggerSource" Description="The PWM trigger source used to drive the camera." /> | ||
</Expression> | ||
<Expression xsi:type="SubscribeSubject"> | ||
<Name>GlobalTrigger</Name> | ||
</Expression> | ||
<Expression xsi:type="ExternalizedMapping"> | ||
<Property Name="FileName" /> | ||
</Expression> | ||
<Expression xsi:type="Combinator"> | ||
<Combinator xsi:type="aeon:VideoFileCapture" /> | ||
</Expression> | ||
<Expression xsi:type="ExternalizedMapping"> | ||
<Property Name="Name" DisplayName="FrameEvents" Description="The name of the output sequence containing all frame events from the video source." /> | ||
</Expression> | ||
<Expression xsi:type="rx:PublishSubject"> | ||
<Name>FrameEvents</Name> | ||
</Expression> | ||
<Expression xsi:type="WorkflowOutput" /> | ||
<Expression xsi:type="ExternalizedMapping"> | ||
<Property Name="Name" DisplayName="TriggerFrequency" Description="The frequency of the trigger source." /> | ||
</Expression> | ||
<Expression xsi:type="SubscribeSubject" TypeArguments="sys:Double"> | ||
<Name>GlobalTriggerFrequency</Name> | ||
</Expression> | ||
</Nodes> | ||
<Edges> | ||
<Edge From="0" To="1" Label="Source1" /> | ||
<Edge From="1" To="3" Label="Source1" /> | ||
<Edge From="2" To="3" Label="Source2" /> | ||
<Edge From="3" To="5" Label="Source1" /> | ||
<Edge From="4" To="5" Label="Source2" /> | ||
<Edge From="5" To="6" Label="Source1" /> | ||
<Edge From="7" To="8" Label="Source1" /> | ||
</Edges> | ||
</Workflow> | ||
</WorkflowBuilder> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters