Open alexpiet opened 3 weeks ago
Notes from @bruno-f-cruz This requires bonsai 2.8.2 and the new Bonsai.Gui package
<?xml version="1.0" encoding="utf-8"?> <WorkflowBuilder Version="2.8.2" xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance"](http://www.w3.org/2001/XMLSchema-instance%22) xmlns:rx="clr-namespace:Bonsai.Reactive;assembly=Bonsai.Core" xmlns:dsp="clr-namespace:Bonsai.Dsp;assembly=Bonsai.Dsp" xmlns:cv="clr-namespace:Bonsai.Vision;assembly=Bonsai.Vision" xmlns:gui="clr-namespace:Bonsai.Gui;assembly=Bonsai.Gui" xmlns="[https://bonsai-rx.org/2018/workflow">](https://bonsai-rx.org/2018/workflow%22%3E) <Workflow> <Nodes> <Expression xsi:type="Combinator"> <Combinator xsi:type="rx:Timer"> <rx:DueTime>PT0S</rx:DueTime> <rx:Period>PT0.1S</rx:Period> </Combinator> </Expression> <Expression xsi:type="Combinator"> <Combinator xsi:type="dsp:ScalarBuffer"> <dsp:Size> <dsp:Width>10</dsp:Width> <dsp:Height>10</dsp:Height> </dsp:Size> <dsp:Depth>F32</dsp:Depth> <dsp:Channels>1</dsp:Channels> <dsp:Value> <dsp:Val0>0</dsp:Val0> <dsp:Val1>0</dsp:Val1> <dsp:Val2>0</dsp:Val2> <dsp:Val3>0</dsp:Val3> </dsp:Value> </Combinator> </Expression> <Expression xsi:type="Combinator"> <Combinator xsi:type="cv:ConvertToImage" /> </Expression> <Expression xsi:type="VisualizerMapping" /> <Expression xsi:type="Combinator"> <Combinator xsi:type="StringProperty"> <Value>ThisIsACamera</Value> </Combinator> </Expression> <Expression xsi:type="PropertyMapping"> <PropertyMappings> <Property Name="Text" /> </PropertyMappings> </Expression> <Expression xsi:type="gui:LabelBuilder"> <gui:Enabled>true</gui:Enabled> <gui:Visible>true</gui:Visible> <gui:Text>ThisIsACamera</gui:Text> </Expression> <Expression xsi:type="VisualizerMapping" /> <Expression xsi:type="gui:TableLayoutPanelBuilder"> <gui:Name>ThisIsACamera</gui:Name> <gui:Enabled>true</gui:Enabled> <gui:Visible>true</gui:Visible> <gui:ColumnCount>1</gui:ColumnCount> <gui:RowCount>1</gui:RowCount> <gui:ColumnStyles /> <gui:RowStyles /> <gui:CellSpans /> </Expression> </Nodes> <Edges> <Edge From="0" To="1" Label="Source1" /> <Edge From="1" To="2" Label="Source1" /> <Edge From="2" To="3" Label="Source1" /> <Edge From="3" To="8" 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="Source2" /> </Edges> </Workflow> </WorkflowBuilder>
Notes from @bruno-f-cruz This requires bonsai 2.8.2 and the new Bonsai.Gui package