Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary formatter fixes #131

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<SourceFile Checksum="D44EAAD35630DF8AD90ABC00F32B4A9686839CE67C1AC04BD9F2F5BF8F03F37099483AC24047844B9F3FC57D977F037CEC43715A281BABB0B0177AEE564137C0" Timestamp="1D6BD2CCC3743BD" xmlns="http://www.ni.com/PlatformFramework">
<SourceFile Checksum="E016C368BE44CC42C3AA47DC7A5340EBD4C0947DD267A0079352081A519A4447F1D9549B9C3640F4E05B5C1A4BFBE3687B31806DD98DB89242F3AE6B8B515065" Timestamp="1DADC41474E3771" xmlns="http://www.ni.com/PlatformFramework">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Creating a comment to prevent accidental merging before we are ready

<SourceModelFeatureSet>
<ParsableNamespace AssemblyFileVersion="8.4.0.49547" FeatureSetName="LabVIEW Controls" Name="http://www.ni.com/Controls.LabVIEW.Design" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="8.4.0.49547" FeatureSetName="LabVIEW Virtual Instrument" Name="http://www.ni.com/LabVIEW.VI" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="8.4.0.49547" FeatureSetName="Common language components" Name="http://www.ni.com/MocCommon" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="8.4.0.49547" FeatureSetName="Web Module: WebVI" Name="http://www.ni.com/NationalInstruments.LabVIEW.HtmlVI" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="8.4.0.49547" FeatureSetName="Editor" Name="http://www.ni.com/PanelCommon" OldestCompatibleVersion="6.1.0.0" Version="6.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="8.4.0.49547" FeatureSetName="Editor" Name="http://www.ni.com/PlatformFramework" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ApplicationVersionInfo Build="8.4.0.49547" Name="LabVIEW NXG" Version="5.1.0" />
<ParsableNamespace AssemblyFileVersion="9.5.2.64333" FeatureSetName="LabVIEW Controls" Name="http://www.ni.com/Controls.LabVIEW.Design" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="9.5.2.64333" FeatureSetName="LabVIEW Virtual Instrument" Name="http://www.ni.com/LabVIEW.VI" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="9.5.2.64333" FeatureSetName="Common language components" Name="http://www.ni.com/MocCommon" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="9.5.2.64333" FeatureSetName="Web Module: WebVI" Name="http://www.ni.com/NationalInstruments.LabVIEW.HtmlVI" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="9.5.2.64333" FeatureSetName="Editor" Name="http://www.ni.com/PanelCommon" OldestCompatibleVersion="6.1.0.0" Version="6.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="9.5.2.64333" FeatureSetName="Editor" Name="http://www.ni.com/PlatformFramework" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ApplicationVersionInfo Build="9.5.2.64333" Name="G Web Development Software" Version="22.3.0" />
</SourceModelFeatureSet>
<VirtualInstrument Id="1" OverridingModelDefinitionType="NationalInstruments.LabVIEW.VI.Modeling.HTMLVirtualInstrument" xmlns="http://www.ni.com/LabVIEW.VI">
<Icon Id="2" ListViewIconCrop="0 0 40 40" xmlns="http://www.ni.com/PlatformFramework">
Expand Down Expand Up @@ -44,8 +44,10 @@
<UnflattenFromJson Bounds="760 135 40 40" Id="15" />
<ArrayLiteral Bounds="540 110 185 25" DataType="String[]" Id="16" Label="43" xmlns="http://www.ni.com/MocCommon">
<p.Data>
<Array Lengths="1" IsBinary="True" Compression="GZip">
<BinaryElements>H4sIAAAAAAAEAGNgZGBg+A8EIBoEBEAMEGZjAhIcuakliSmJJYncAJX9r/8pAAAA</BinaryElements>
<Array Lengths="1">
<Rank1>
<Elem>metadata</Elem>
</Rank1>
</Array>
</p.Data>
<ArrayBehavior ElementType="String" IndexEditorWidth="42">
Expand Down Expand Up @@ -154,27 +156,27 @@
</BlockDiagram>
<HtmlFrontPanel Height="[float]600" Id="14" Left="[float]0" MinHeight="[float]0" MinWidth="[float]0" PanelSizeMode="Fixed" Top="[float]0" Width="[float]1000" xmlns="http://www.ni.com/NationalInstruments.LabVIEW.HtmlVI">
<NumericText BaseName="[string]Numeric" Height="[float]24" Id="53" Interval="[double]1" IsReadOnly="[bool]True" Label="[UIModel]69" Left="[float]884" MinHeight="[float]24" RadixBase="[RadixBase]0" RadixVisibility="[SMVisibility]Collapsed" TabIndex="[int]0" Top="[float]36" Value="{DataItemBinding Id=49}" ValueFormatter="[string]LV:G6" ValueType="[Type]Double" Width="[float]72" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
<Label Height="[float]16" Id="69" LabelOwner="[UIModel]53" Left="[float]884" Text="[string]Earthquake count" Top="[float]16" Width="[float]100" xmlns="http://www.ni.com/PanelCommon" />
<Label Height="[float]16" Id="69" LabelOwner="[UIModel]53" Left="[float]884" Text="[string]Earthquake count" Top="[float]16" Width="[float]93" xmlns="http://www.ni.com/PanelCommon" />
<StringControl AcceptsReturn="[bool]True" BaseName="[string]String" Height="[float]312" HorizontalScrollBarVisibility="[ScrollBarVisibility]Hidden" Id="54" IsReadOnly="[bool]False" Label="[UIModel]70" Left="[float]20" TabIndex="[int]1" Text="{DataItemBinding Id=50}" Top="[float]36" VerticalScrollBarVisibility="[ScrollBarVisibility]Auto" Width="[float]600" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
<Label Height="[float]16" Id="70" LabelOwner="[UIModel]54" Left="[float]20" Text="[string]JSON" Top="[float]16" Width="[float]49" xmlns="http://www.ni.com/PanelCommon" />
<Label Height="[float]16" Id="70" LabelOwner="[UIModel]54" Left="[float]20" Text="[string]JSON" Top="[float]16" Width="[float]29" xmlns="http://www.ni.com/PanelCommon" />
<Cluster BaseName="[string]Cluster" BorderThickness="[SMThickness]1,1,1,1" ClusterType="[Type]Error" Height="[float]176" Id="74" Label="[UIModel]95" Left="[float]20" MinHeight="[float]24" MinWidth="[float]24" TabIndex="[int]2" Top="[float]404" Value="{DataItemBinding Id=73}" Width="[float]176" xmlns="http://www.ni.com/PanelCommon">
<LED ContentVisibility="[Visibility]Collapsed" Height="[float]24" Id="75" IsReadOnly="[bool]False" Label="[UIModel]76" Left="[float]8" MinHeight="[float]16" MinWidth="[float]16" Shape="[LEDShape]Round" Top="[float]24" TrueBackground="[SMSolidColorBrush]#ffff0000" Value="{ClusterBinding FieldName=status}" Width="[float]24" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
<Label Height="[float]16" Id="76" LabelOwner="[UIModel]75" Left="[float]8" Text="[string]status" Top="[float]4" Width="[float]38" />
<Label Height="[float]16" Id="76" LabelOwner="[UIModel]75" Left="[float]8" Text="[string]status" Top="[float]4" Width="[float]32" />
<NumericText Height="[float]24" Id="77" Interval="[int]1" Label="[UIModel]78" Left="[float]64" MinHeight="[float]16" MinWidth="[float]36" RadixBase="[RadixBase]Decimal" RadixVisibility="[SMVisibility]Visible" Top="[float]24" Value="{ClusterBinding FieldName=code}" ValueFormatter="[string]Decimal, Uppercase, Signed" ValueType="[Type]Int32" Width="[float]104" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
<Label Height="[float]16" Id="78" LabelOwner="[UIModel]77" Left="[float]64" Text="[string]code" Top="[float]4" Width="[float]33" />
<Label Height="[float]16" Id="78" LabelOwner="[UIModel]77" Left="[float]64" Text="[string]code" Top="[float]4" Width="[float]26" />
<StringControl AcceptsReturn="[bool]True" Height="[float]96" Id="79" IsReadOnly="[bool]False" Label="[UIModel]80" Left="[float]8" Text="{ClusterBinding FieldName=source}" Top="[float]72" Width="[float]160" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
<Label Height="[float]16" Id="80" LabelOwner="[UIModel]79" Left="[float]8" Text="[string]source" Top="[float]52" Width="[float]42" />
<Label Height="[float]16" Id="80" LabelOwner="[UIModel]79" Left="[float]8" Text="[string]source" Top="[float]52" Width="[float]35" />
</Cluster>
<Label Height="[float]16" Id="95" LabelOwner="[UIModel]74" Left="[float]20" Text="[string]error in" Top="[float]384" Width="[float]46" xmlns="http://www.ni.com/PanelCommon" />
<Label Height="[float]16" Id="95" LabelOwner="[UIModel]74" Left="[float]20" Text="[string]error in" Top="[float]384" Width="[float]39" xmlns="http://www.ni.com/PanelCommon" />
<Cluster BaseName="[string]Cluster" BorderThickness="[SMThickness]1,1,1,1" ClusterType="[Type]Error" Height="[float]176" Id="85" Label="[UIModel]96" Left="[float]804" MinHeight="[float]24" MinWidth="[float]24" TabIndex="[int]3" Top="[float]420" Value="{DataItemBinding Id=84}" Width="[float]176" xmlns="http://www.ni.com/PanelCommon">
<LED ContentVisibility="[Visibility]Collapsed" Height="[float]24" Id="86" IsReadOnly="[bool]True" Label="[UIModel]87" Left="[float]8" MinHeight="[float]16" MinWidth="[float]16" Shape="[LEDShape]Round" Top="[float]24" TrueBackground="[SMSolidColorBrush]#ffff0000" Value="{ClusterBinding FieldName=status}" Width="[float]24" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
<Label Height="[float]16" Id="87" LabelOwner="[UIModel]86" Left="[float]8" Text="[string]status" Top="[float]4" Width="[float]38" />
<Label Height="[float]16" Id="87" LabelOwner="[UIModel]86" Left="[float]8" Text="[string]status" Top="[float]4" Width="[float]32" />
<NumericText Height="[float]24" Id="88" Interval="[int]1" IsReadOnly="[bool]True" Label="[UIModel]89" Left="[float]64" MinHeight="[float]16" MinWidth="[float]36" RadixBase="[RadixBase]Decimal" RadixVisibility="[SMVisibility]Visible" Top="[float]24" Value="{ClusterBinding FieldName=code}" ValueFormatter="[string]Decimal, Uppercase, Signed" ValueType="[Type]Int32" Width="[float]104" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
<Label Height="[float]16" Id="89" LabelOwner="[UIModel]88" Left="[float]64" Text="[string]code" Top="[float]4" Width="[float]33" />
<Label Height="[float]16" Id="89" LabelOwner="[UIModel]88" Left="[float]64" Text="[string]code" Top="[float]4" Width="[float]26" />
<StringControl AcceptsReturn="[bool]True" Height="[float]96" Id="90" IsReadOnly="[bool]True" Label="[UIModel]91" Left="[float]8" Text="{ClusterBinding FieldName=source}" Top="[float]72" Width="[float]160" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
<Label Height="[float]16" Id="91" LabelOwner="[UIModel]90" Left="[float]8" Text="[string]source" Top="[float]52" Width="[float]42" />
<Label Height="[float]16" Id="91" LabelOwner="[UIModel]90" Left="[float]8" Text="[string]source" Top="[float]52" Width="[float]35" />
</Cluster>
<Label Height="[float]16" Id="96" LabelOwner="[UIModel]85" Left="[float]804" Text="[string]error out" Top="[float]400" Width="[float]54" xmlns="http://www.ni.com/PanelCommon" />
<Label Height="[float]16" Id="96" LabelOwner="[UIModel]85" Left="[float]804" Text="[string]error out" Top="[float]400" Width="[float]47" xmlns="http://www.ni.com/PanelCommon" />
</HtmlFrontPanel>
<DataItem AdaptToDiagramType="True" CallDirection="Output" CallIndex="2" DataType="Double" Id="49" Name="Earthquake count" xmlns="http://www.ni.com/MocCommon">
<p.DefaultValue>0x0</p.DefaultValue>
Expand Down
Loading