3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
4
xmlns : rx =" clr-namespace:Bonsai.Reactive;assembly=Bonsai.Core"
5
5
xmlns : commutator =" clr-namespace:OpenEphys.Commutator;assembly=OpenEphys.Commutator"
6
+ xmlns : port =" clr-namespace:Bonsai.IO.Ports;assembly=Bonsai.System"
6
7
xmlns =" https://bonsai-rx.org/2018/workflow" >
7
8
<Description >Control an Open Ephys commutator by using rotation angle measurements.</Description >
8
9
<Workflow >
27
28
</commutator : RotationAxis >
28
29
</Combinator >
29
30
</Expression >
31
+ <Expression xsi : type =" Format" >
32
+ <Format >{{turn : {0}}}</Format >
33
+ <Selector >it</Selector >
34
+ </Expression >
30
35
<Expression xsi : type =" ExternalizedMapping" >
31
36
<Property Name =" PortName" />
32
37
</Expression >
33
38
<Expression xsi : type =" Combinator" >
34
- <Combinator xsi : type =" commutator:TurnMotor" />
39
+ <Combinator xsi : type =" port:SerialWriteLine" >
40
+ <port : PortName />
41
+ <port : NewLine >\r\n</port : NewLine >
42
+ </Combinator >
35
43
</Expression >
36
44
<Expression xsi : type =" WorkflowOutput" />
37
45
</Nodes >
38
46
<Edges >
39
47
<Edge From =" 0" To =" 1" Label =" Source1" />
40
48
<Edge From =" 1" To =" 3" Label =" Source1" />
41
49
<Edge From =" 2" To =" 3" Label =" Source2" />
42
- <Edge From =" 3" To =" 5" Label =" Source1" />
43
- <Edge From =" 4" To =" 5" Label =" Source2" />
44
- <Edge From =" 5" To =" 6" Label =" Source1" />
50
+ <Edge From =" 3" To =" 4" Label =" Source1" />
51
+ <Edge From =" 4" To =" 6" Label =" Source1" />
52
+ <Edge From =" 5" To =" 6" Label =" Source2" />
53
+ <Edge From =" 6" To =" 7" Label =" Source1" />
45
54
</Edges >
46
55
</Workflow >
47
56
</WorkflowBuilder >
0 commit comments