-
Notifications
You must be signed in to change notification settings - Fork 0
/
Manchester Coding.gvi
145 lines (145 loc) · 13.2 KB
/
Manchester Coding.gvi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" encoding="utf-8"?>
<SourceFile Checksum="019E2F75EFD3333EC57581C766F175F0" xmlns="http://www.ni.com/PlatformFramework">
<SourceModelFeatureSet>
<ParsableNamespace AssemblyFileVersion="4.5.2.51305" FeatureSetName="LabVIEW Controls" MinimumParsableVersion="4.5.0.0" MinimumSemanticallyEquivalentVersion="4.5.0.0" Name="http://www.ni.com/Controls.LabVIEW.Design" Version="4.5.0.49153" />
<ParsableNamespace AssemblyFileVersion="4.5.2.51305" FeatureSetName="LabVIEW Virtual Instrument" MinimumParsableVersion="4.5.0.0" MinimumSemanticallyEquivalentVersion="4.5.0.0" Name="http://www.ni.com/LabVIEW.VI" Version="4.5.0.49156" />
<ParsableNamespace AssemblyFileVersion="4.5.2.51305" FeatureSetName="Common Language Components" MinimumParsableVersion="4.5.0.0" MinimumSemanticallyEquivalentVersion="4.5.0.0" Name="http://www.ni.com/MocCommon" Version="4.5.0.49153" />
<ParsableNamespace AssemblyFileVersion="4.5.2.51305" FeatureSetName="Editor" MinimumParsableVersion="4.5.0.0" MinimumSemanticallyEquivalentVersion="4.5.0.0" Name="http://www.ni.com/PanelCommon" Version="4.5.0.49152" />
<ParsableNamespace AssemblyFileVersion="4.5.2.51305" FeatureSetName="Editor" MinimumParsableVersion="4.5.0.0" MinimumSemanticallyEquivalentVersion="4.5.0.0" Name="http://www.ni.com/PlatformFramework" Version="4.5.0.49153" />
<ApplicationVersionInfo Build="4.5.2.51305" Name="LabVIEW Communications System Design Software" Version="2.0.1" />
</SourceModelFeatureSet>
<VirtualInstrument Id="1" xmlns="http://www.ni.com/LabVIEW.VI">
<Icon Id="2" ListViewIconCrop="0 0 40 40" xmlns="http://www.ni.com/PlatformFramework">
<IconPanel Height="[float]40" Id="3" Left="[float]0" Top="[float]0" Width="[float]40">
<IconTemplate ClipMargin="[SMThickness]3,3,3,3" Id="4" Left="[float]0" TemplateName="Gray" Top="[float]0">
<Rectangle Fill="[SMSolidColorBrush]#ff727272" Id="5" IsHitTestVisible="[bool]False" Left="[float]0" MinHeight="[float]1" MinWidth="[float]1" RadiusX="[float]4" RadiusY="[float]4" Top="[float]0" />
<Rectangle Fill="[SMSolidColorBrush]#ffe5e5e5" Id="6" IsHitTestVisible="[bool]False" Left="[float]0" Margin="[SMThickness]1,1,1,1" MinHeight="[float]1" MinWidth="[float]1" RadiusX="[float]2.5" RadiusY="[float]2.5" Stroke="[SMSolidColorBrush]#fff2f2f2" Top="[float]0" />
<FileNameText Attached="[bool]True" Id="7" Left="[float]0" Margin="[SMThickness]2,2,2,2" SizeMode="[TextModelSizeMode]AutoFont" Text="[string]Manchester Coding" TextAlignment="[TextAlignment]Center" TextWrapping="[TextWrapping]Wrap" Top="[float]0" VerticalScrollBarVisibility="[ScrollBarVisibility]Hidden">
<FontSetting FontFamily="Verdana" FontSize="6" Id="8" />
</FileNameText>
</IconTemplate>
<Canvas Background="[SMSolidColorBrush]#00ffffff" ClipToBounds="[bool]True" Height="[float]34" Id="9" Left="[float]0" Margin="[SMThickness]3,3,3,3" MinHeight="[float]0" MinWidth="[float]0" Top="[float]0" Width="[float]34" />
</IconPanel>
</Icon>
<ConnectorPane Height="40" Id="10" ListViewHeight="70" ListViewWidth="150" Width="40" xmlns="http://www.ni.com/PlatformFramework">
<ConnectorPaneTerminal ListViewHotspot="0 35" Parameter="19" />
<ConnectorPaneTerminal Hotspot="0 15" />
<ConnectorPaneTerminal Hotspot="0 25" />
<ConnectorPaneTerminal Hotspot="0 35" />
<ConnectorPaneTerminal Hotspot="15 0" />
<ConnectorPaneTerminal Hotspot="25 0" />
<ConnectorPaneTerminal Hotspot="40 5" ListViewHotspot="150 50" Parameter="22" />
<ConnectorPaneTerminal Hotspot="40 15" />
<ConnectorPaneTerminal Hotspot="40 25" />
<ConnectorPaneTerminal Hotspot="40 35" />
<ConnectorPaneTerminal Hotspot="15 40" />
<ConnectorPaneTerminal Hotspot="25 40" />
</ConnectorPane>
<DiagramUnplacedItems Id="11" xmlns="http://www.ni.com/MocCommon" />
<FrontPanelUnplacedItems Id="12" Left="[float]0" MinHeight="[float]0" MinWidth="[float]0" Top="[float]0" />
<BlockDiagram Id="13">
<DataAccessor Bounds="140 265 40 15" DataItem="19" Id="20" Label="21" xmlns="http://www.ni.com/MocCommon">
<Terminal DataType="Int8[]" Direction="Output" Hotspot="40 5" Id="Value" xmlns="http://www.ni.com/PlatformFramework" />
</DataAccessor>
<NodeLabel AttachedTo="20" Bounds="80 265 55 14" Id="21" xmlns="http://www.ni.com/PlatformFramework">
<p.Text>Input Bits</p.Text>
</NodeLabel>
<DataAccessor Bounds="470 265 40 15" DataItem="22" Id="23" Label="43" xmlns="http://www.ni.com/MocCommon">
<Terminal DataType="Int32[]" Direction="Input" Hotspot="3 5" Id="Value" xmlns="http://www.ni.com/PlatformFramework" />
</DataAccessor>
<NodeLabel AttachedTo="23" Bounds="515 265 63 14" Id="43" xmlns="http://www.ni.com/PlatformFramework">
<p.Text>Output Bits</p.Text>
</NodeLabel>
<Wire Id="48" Joints="N(20:Value) N(78:o0)" xmlns="http://www.ni.com/PlatformFramework" />
<Wire Id="69" Joints="N(79:o0) N(23:Value)" xmlns="http://www.ni.com/PlatformFramework" />
<ForLoop Bounds="203 198 240 215" DiagramId="75" Id="74">
<LoopIteration Bounds="0 185 15 15" Id="77" />
<CaseStructure Bounds="35 45 160 110" DataType="Int8" Default="56" Id="55" Selected="57" UserSelectorBounds="22 0 115 17">
<CaseStructure.Case Bounds="5 5 150 100" Id="56" Pattern="0, Default">
<ArrayLiteral Bounds="25 15 101 44" DataType="Int32[]" Facade="NationalInstruments.MocCommon.SourceModel.IArrayBehavior" Id="60" xmlns="http://www.ni.com/MocCommon">
<p.Data>
<Array Lengths="2" IsBinary="True" Compression="GZip">
<BinaryElements>H4sIAAAAAAAEAGNgZGBg+A8EIBoEBEAMJiDm4GAEkyBBbgDWT2q4JwAAAA==</BinaryElements>
</Array>
</p.Data>
<ArrayBehavior ElementType="Int32" VisibleRows="2">
<p.DefaultElementValue>0</p.DefaultElementValue>
</ArrayBehavior>
<Literal Bounds="47 5 39.5 16" DataType="Int32" Facade="NationalInstruments.MocCommon.SourceModel.INumericBehavior" Id="61">
<p.Data>1</p.Data>
<NumericBehavior Interpretation="Exact" ValueFormatter="LV:G6" />
</Literal>
</ArrayLiteral>
<Wire Id="62" Joints="N(60:Out) N(63:56)" xmlns="http://www.ni.com/PlatformFramework" />
</CaseStructure.Case>
<CaseStructure.Case Bounds="5 5 150 100" Id="57" Pattern="1">
<ArrayLiteral Bounds="25 15 101 44" DataType="Int32[]" Facade="NationalInstruments.MocCommon.SourceModel.IArrayBehavior" Id="64" xmlns="http://www.ni.com/MocCommon">
<p.Data>
<Array Lengths="2" IsBinary="True" Compression="GZip">
<BinaryElements>H4sIAAAAAAAEAGNgZGBg+A8EIBoEBEAMJiDm4GAAkyA+NwCmuYREJwAAAA==</BinaryElements>
</Array>
</p.Data>
<ArrayBehavior ElementType="Int32" VisibleRows="2">
<p.DefaultElementValue>0</p.DefaultElementValue>
</ArrayBehavior>
<Literal Bounds="47 5 39.5 16" DataType="Int32" Facade="NationalInstruments.MocCommon.SourceModel.INumericBehavior" Id="65">
<p.Data>0</p.Data>
<NumericBehavior Interpretation="Exact" ValueFormatter="LV:G6" />
</Literal>
</ArrayLiteral>
<Wire Id="66" Joints="N(64:Out) N(63:57)" xmlns="http://www.ni.com/PlatformFramework" />
</CaseStructure.Case>
<CaseStructure.Selector Bounds="-4 20 13 10" Docking="Left" Id="58" Terminals="55=59, 56, 57" />
<CaseStructure.Tunnel Bounds="151 20 13 10" Docking="Right" Id="63" Terminals="55=67, 56=62, 57=66" />
</CaseStructure>
<Wire Id="59" Joints="N(78:i0) N(58:55)" xmlns="http://www.ni.com/PlatformFramework" />
<Wire Id="67" Joints="N(63:55) N(79:i0)" xmlns="http://www.ni.com/PlatformFramework" />
<LoopCount Bounds="1 1 15 15" Docking="Left" Id="76" Terminals="74, 75" />
<LoopTunnel AutoIndex="True" Bounds="-5 67 13 10" Docking="Left" Id="78" Terminals="o0=48, i0=59" TunnelMode="0" />
<LoopTunnel Bounds="230 67 13 10" Docking="Right" Id="79" Terminals="o0=69, i0=67" TunnelMode="1" />
</ForLoop>
<Comment Bounds="220 165 203 15" Id="80" xmlns="http://www.ni.com/MocCommon">
<p.Text>Implementing Manchester Coding</p.Text>
</Comment>
</BlockDiagram>
<CPFrontPanel Height="[float]1600" Id="14" Left="[float]0" MinHeight="[float]0" MinWidth="[float]0" Top="[float]0" Width="[float]2000">
<ArrayViewer ArrayElement="[UIModel]16" BaseName="[string]Numeric Array Input" Columns="[int]1" Dimensions="[int]1" Height="[float]116" Id="15" IndexVisibility="[Visibility]Collapsed" IsFixedSize="[bool]False" Label="[UIModel]18" Left="[float]247" Orientation="[SMOrientation]Vertical" Rows="[int]4" Top="[float]212" Value="{DataItemBinding Id=19}" VerticalScrollBarVisibility="[ScrollBarVisibility]Visible" Width="[float]104" xmlns="http://www.ni.com/PanelCommon">
<p.DefaultElementValue>0</p.DefaultElementValue>
<NumericText Height="[float]24" Id="16" Interval="[sbyte]1" Label="[UIModel]17" Left="[float]7" MinHeight="[float]22" Top="[float]59" Value="[sbyte]0" ValueFormatter="[string]LV:G6" ValueType="[Type]Int8" Width="[float]71" xmlns="http://www.ni.com/Controls.LabVIEW.Design">
<Label Id="17" IsVisualChild="[bool]False" LabelOwner="[UIModel]16" Left="[float]7" Text="[string]Numeric" Top="[float]59" xmlns="http://www.ni.com/PanelCommon" />
</NumericText>
</ArrayViewer>
<Label Height="[float]16" Id="18" LabelOwner="[UIModel]15" Left="[float]247" Text="[string]Input Bits" Top="[float]189" Width="[float]51" xmlns="http://www.ni.com/PanelCommon" />
<Graph BaseName="[string]Graph" BorderThickness="[SMThickness]1,1,1,1" DataSource="{DataItemBinding Id=22}" Height="[float]400" Id="24" Label="[UIModel]42" Left="[float]506" MetadataAlwaysOverridesPlotNames="[bool]True" PreferIndexData="[bool]False" RenderMode="[RenderMode]Hardware" SuppressScaleLayout="[bool]False" Top="[float]89" Width="[float]600" xmlns="http://www.ni.com/Controls.LabVIEW.Design">
<Axis Adjuster="[RangeAdjuster]FitLoosely" Id="25" Label="[string]Time" MajorDivisions="[UIModel]36" Orientation="[SMOrientation]Horizontal" Range="[IRange]0, 100, System.Double" ValueType="[Type]Double">
<RangeLabeledDivisions Id="36" LabelPresenter="[string]LVRelativeSeconds:0.######>>0.000E+0" />
</Axis>
<Axis Adjuster="[RangeAdjuster]FitVisibleLoosely" Id="26" Label="[string]Amplitude" MajorDivisions="[UIModel]37" Orientation="[SMOrientation]Vertical" Range="[IRange]0, 10, System.Double" ValueType="[Type]Double">
<RangeLabeledDivisions Id="37" LabelPresenter="[string]LVRelativeSeconds:0.######>>0.000E+0" />
</Axis>
<Plot HorizontalScale="[UIModel]25" Id="27" Label="[string]Plot" VerticalScale="[UIModel]26" />
<PlotRenderer AreaBaseline="[FillBaseline]Zero" BarBaseline="[FillBaseline]Zero" Id="28" LineStroke="[SMSolidColorBrush]#ff7b161a" PointShape="[PointShape]Ellipse" />
<PlotRenderer AreaBaseline="[FillBaseline]Zero" BarBaseline="[FillBaseline]Zero" Id="29" LineStroke="[SMSolidColorBrush]#ff008ee4" PointShape="[PointShape]Rectangle" />
<PlotRenderer AreaBaseline="[FillBaseline]Zero" BarBaseline="[FillBaseline]Zero" Id="30" LineStroke="[SMSolidColorBrush]#ffe2b683" PointShape="[PointShape]Diamond" />
<PlotRenderer AreaBaseline="[FillBaseline]Zero" BarBaseline="[FillBaseline]Zero" Id="31" LineStroke="[SMSolidColorBrush]#ffb7ac1f" PointShape="[PointShape]Cross" />
<PlotRenderer AreaBaseline="[FillBaseline]Zero" BarBaseline="[FillBaseline]Zero" Id="32" LineStroke="[SMSolidColorBrush]#ffaedcef" PointShape="[PointShape]Ellipse" />
<PlotRenderer AreaBaseline="[FillBaseline]Zero" BarBaseline="[FillBaseline]Zero" Id="33" LineStroke="[SMSolidColorBrush]#ffa08bb0" PointShape="[PointShape]Rectangle" />
<PlotRenderer AreaBaseline="[FillBaseline]Zero" BarBaseline="[FillBaseline]Zero" Id="34" LineStroke="[SMSolidColorBrush]#ff7f7f7f" PointShape="[PointShape]Diamond" />
<PlotRenderer AreaBaseline="[FillBaseline]Zero" BarBaseline="[FillBaseline]Zero" Id="35" LineStroke="[SMSolidColorBrush]#ff3c0726" PointShape="[PointShape]Cross" />
</Graph>
<PlotLegend Graph="[UIModel]24" Height="[float]28" Id="38" Left="[float]1113" Top="[float]89" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
<CursorLegend DefaultCursorForeground="[SMSolidColorBrush]#ff000000" Graph="[UIModel]24" Height="[float]102" Id="39" Left="[float]511" MinHeight="[float]80" Top="[float]518" Visible="[bool]False" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
<ScaleLegend Graph="[UIModel]24" Height="[float]50" Id="40" Left="[float]1113" MinHeight="[float]50" Top="[float]387" Visible="[bool]False" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
<GraphTools Graph="[UIModel]24" Height="[float]22" Id="41" Left="[float]511" Top="[float]496" Visible="[bool]False" Width="[float]148" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
<Label Height="[float]16" Id="42" LabelOwner="[UIModel]24" Left="[float]506" Text="[string]Output Bits" Top="[float]66" Width="[float]61" xmlns="http://www.ni.com/PanelCommon" />
</CPFrontPanel>
<DataItem CallDirection="Input" CallIndex="0" DataType="Int8[]" Id="19" Name="Input Bits" xmlns="http://www.ni.com/MocCommon">
<p.DefaultValue>null</p.DefaultValue>
</DataItem>
<DataItem AdaptToDiagramType="True" CallDirection="Output" CallIndex="0" DataType="Int32[]" Id="22" Name="Output Bits" xmlns="http://www.ni.com/MocCommon">
<p.DefaultValue>
<Array Lengths="0" />
</p.DefaultValue>
</DataItem>
</VirtualInstrument>
</SourceFile>