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

Changing measured value indicator to use significant digits instead of digits of precision #420

Merged
merged 5 commits into from
Sep 28, 2023
Merged
Changes from 2 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
28 changes: 14 additions & 14 deletions examples/nivisa_dmm_measurement/NIVisaDmmMeasurement.measui
DelpireNI marked this conversation as resolved.
Show resolved Hide resolved
DelpireNI marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<SourceFile Checksum="86529FD656C6FA58EE55DE069AF0FA4A9CE5A16FBCDF6C0A36B42525706886A44DEC99B76ABC2E170A5F5EE1B2DEC31F7E0EE516CE4F65C11E259FE4B87CFDE4" Timestamp="1D9AA996CB667AA" xmlns="http://www.ni.com/PlatformFramework">
<SourceFile Checksum="29901652DC38053C5608553C1BB27B37984E75E487149AEB2169D50BDFDF010896FA0B9ACD9632824B213385E278204EFEE1E20A942B4626E727698B76A2E691" Timestamp="1D9F0ADAB2C23DF" xmlns="http://www.ni.com/PlatformFramework">
<SourceModelFeatureSet>
<ParsableNamespace AssemblyFileVersion="9.9.0.49805" FeatureSetName="Configuration Based Software Core" Name="http://www.ni.com/ConfigurationBasedSoftware.Core" OldestCompatibleVersion="6.3.0.49152" Version="9.8.1.49152" />
<ParsableNamespace AssemblyFileVersion="9.9.0.49805" FeatureSetName="LabVIEW Controls" Name="http://www.ni.com/Controls.LabVIEW.Design" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="23.5.0.49805" FeatureSetName="InstrumentStudio Measurement UI" Name="http://www.ni.com/InstrumentFramework/ScreenDocument" OldestCompatibleVersion="22.1.0.1" Version="22.1.0.1" />
<ParsableNamespace AssemblyFileVersion="9.9.0.49805" FeatureSetName="Editor" Name="http://www.ni.com/PanelCommon" OldestCompatibleVersion="6.1.0.0" Version="6.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="9.9.0.49805" FeatureSetName="Editor" Name="http://www.ni.com/PlatformFramework" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ApplicationVersionInfo Build="23.5.0.49805" Name="MeasurementLink UI Editor" Version="23.5.0.49805" />
<ParsableNamespace AssemblyFileVersion="9.9.0.50025" FeatureSetName="Configuration Based Software Core" Name="http://www.ni.com/ConfigurationBasedSoftware.Core" OldestCompatibleVersion="6.3.0.49152" Version="9.8.1.49152" />
<ParsableNamespace AssemblyFileVersion="9.9.0.50025" FeatureSetName="LabVIEW Controls" Name="http://www.ni.com/Controls.LabVIEW.Design" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="23.5.0.50025" FeatureSetName="InstrumentStudio Measurement UI" Name="http://www.ni.com/InstrumentFramework/ScreenDocument" OldestCompatibleVersion="22.1.0.1" Version="22.1.0.1" />
<ParsableNamespace AssemblyFileVersion="9.9.0.50025" FeatureSetName="Editor" Name="http://www.ni.com/PanelCommon" OldestCompatibleVersion="6.1.0.0" Version="6.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="9.9.0.50025" FeatureSetName="Editor" Name="http://www.ni.com/PlatformFramework" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ApplicationVersionInfo Build="23.5.0.50026" Name="MeasurementLink UI Editor" Version="23.5.0.50026" />
</SourceModelFeatureSet>
<Screen ClientId="{26c56ad8-e31a-456d-979e-87865b3f5c61}" DisplayName="NI-VISA DMM Measurement (Py)" Id="f4480b18b95d49bfbefdf2b9d4958707" ServiceClass="ni.examples.NIVisaDmmMeasurement_Python" xmlns="http://www.ni.com/InstrumentFramework/ScreenDocument">
<ScreenSurface BackgroundColor="[SMSolidColorBrush]#ffffffff" Height="[float]310" Id="d5c4d136f87c4189a41619217b0d4f32" Left="[float]0" PanelSizeMode="Fixed" Top="[float]0" Width="[float]410" xmlns="http://www.ni.com/ConfigurationBasedSoftware.Core">
<ScreenSurface BackgroundColor="[SMSolidColorBrush]#ffffffff" Height="[float]310" Id="d5c4d136f87c4189a41619217b0d4f32" Left="[float]0" PanelSizeMode="Fixed" Top="[float]0" Width="[float]415" xmlns="http://www.ni.com/ConfigurationBasedSoftware.Core">
<ScreenSurfaceCanvas Background="[SMSolidColorBrush]#80808080" BaseName="[string]Canvas" Height="[float]143" Id="299e88201b64436290271ab48c3f88c1" Label="[UIModel]8a81dfd7bc5c46228026d1c21aa98288" Left="[float]23" Top="[float]140" Width="[float]150">
<ChannelNumericText AdaptsToType="[bool]True" BaseName="[string]Numeric" Channel="[string]{26c56ad8-e31a-456d-979e-87865b3f5c61}/Configuration/range" Enabled="[bool]True" Height="[float]24" Id="3425530122134004b914e5caafe7fa5c" IsLabelBoundToChannel="[bool]False" Label="[UIModel]c24c5007263c45aaab35919b80ade906" Left="[float]15" RadixBase="[RadixBase]0" RadixVisibility="[SMVisibility]Collapsed" TabIndex="[int]0" Top="[float]36" UnitAnnotation="[string]" ValueFormatter="[string]DisplayFormat=SystemInternational:Digits=2:DigitDisplayType=DigitsOfPrecision:MinimumFieldWidth=0:AlwaysShowSign=False:ShowThousandsSeparator=False" ValueType="[Type]Double" Width="[float]70" />
<Label Height="[float]16" Id="c24c5007263c45aaab35919b80ade906" LabelOwner="[UIModel]3425530122134004b914e5caafe7fa5c" Left="[float]15" Text="[string]Range" Top="[float]16" Width="[float]33" xmlns="http://www.ni.com/PanelCommon" />
<ChannelNumericText AdaptsToType="[bool]True" BaseName="[string]Numeric" Channel="[string]{26c56ad8-e31a-456d-979e-87865b3f5c61}/Configuration/resolution_digits" Height="[float]24" Id="f00e4a6e2da64780a841bd86ebbe1932" IsLabelBoundToChannel="[bool]False" Label="[UIModel]6110b26a8afe4a14b3e3be3bee9d797e" Left="[float]16" TabIndex="[int]1" Top="[float]93" UnitAnnotation="[string]" ValueFormatter="[string]LV:G5" ValueType="[Type]Double" Width="[float]70" />
<ChannelNumericText AdaptsToType="[bool]True" BaseName="[string]Numeric" Channel="[string]{26c56ad8-e31a-456d-979e-87865b3f5c61}/Configuration/resolution_digits" Enabled="[bool]True" Height="[float]24" Id="f00e4a6e2da64780a841bd86ebbe1932" IsLabelBoundToChannel="[bool]False" Label="[UIModel]6110b26a8afe4a14b3e3be3bee9d797e" Left="[float]16" TabIndex="[int]1" Top="[float]93" UnitAnnotation="[string]" ValueFormatter="[string]LV:G5" ValueType="[Type]Double" Width="[float]70" />
<Label Height="[float]16" Id="6110b26a8afe4a14b3e3be3bee9d797e" LabelOwner="[UIModel]f00e4a6e2da64780a841bd86ebbe1932" Left="[float]16" Text="[string]Resolution (digits)" Top="[float]73" Width="[float]95" xmlns="http://www.ni.com/PanelCommon" />
</ScreenSurfaceCanvas>
<Label Height="[float]16" Id="8a81dfd7bc5c46228026d1c21aa98288" LabelOwner="[UIModel]299e88201b64436290271ab48c3f88c1" Left="[float]23" Text="[string]Configuration" Top="[float]120" Width="[float]73" xmlns="http://www.ni.com/PanelCommon" />
<ChannelNumericText AdaptsToType="[bool]True" BaseName="[string]Numeric" Channel="[string]{26c56ad8-e31a-456d-979e-87865b3f5c61}/Output/measured_value" Height="[float]51" Id="b8c14ae283ec4bf8ad8a037705e08afc" IsLabelBoundToChannel="[bool]False" IsReadOnly="[bool]True" Label="[UIModel]71a08f4917d143caa1a9edb08cfff3c8" Left="[float]195" MinHeight="[float]51" TabIndex="[int]0" Top="[float]30" UnitAnnotation="[string]" ValueFormatter="[string]DisplayFormat=Automatic:Digits=6:DigitDisplayType=DigitsOfPrecision:MinimumFieldWidth=0:AlwaysShowSign=False:ShowThousandsSeparator=False" ValueType="[Type]Double" Width="[float]185">
<ChannelNumericText AdaptsToType="[bool]True" BaseName="[string]Numeric" Channel="[string]{26c56ad8-e31a-456d-979e-87865b3f5c61}/Output/measured_value" Height="[float]51" Id="b8c14ae283ec4bf8ad8a037705e08afc" IsLabelBoundToChannel="[bool]False" IsReadOnly="[bool]True" Label="[UIModel]71a08f4917d143caa1a9edb08cfff3c8" Left="[float]195" MinHeight="[float]51" TabIndex="[int]0" Top="[float]30" UnitAnnotation="[string]" ValueFormatter="[string]DisplayFormat=Automatic:Digits=6:DigitDisplayType=SignificantDigits:MinimumFieldWidth=0:AlwaysShowSign=False:ShowThousandsSeparator=False" ValueType="[Type]Double" Width="[float]215">
DelpireNI marked this conversation as resolved.
Show resolved Hide resolved
DelpireNI marked this conversation as resolved.
Show resolved Hide resolved
<FontSetting FontFamily="Segoe UI" FontSize="24" Id="142973a4882412f8a4bf0df63295bf1" xmlns="http://www.ni.com/PlatformFramework" />
</ChannelNumericText>
<Label Height="[float]16" Id="71a08f4917d143caa1a9edb08cfff3c8" LabelOwner="[UIModel]b8c14ae283ec4bf8ad8a037705e08afc" Left="[float]195" Text="[string]Measured value" Top="[float]10" Width="[float]84" xmlns="http://www.ni.com/PanelCommon" />
<ChannelPinSelector AllowUndefinedValues="[bool]True" BaseName="[string]Pin" Channel="[string]{26c56ad8-e31a-456d-979e-87865b3f5c61}/Configuration/pin_name" DataType="[Type]String" Height="[float]24" Id="f7b79f2403f9467782561c9c75a54604" IsLabelBoundToChannel="[bool]False" Label="[UIModel]9905796649f44175a56f9eb34178d24e" Left="[float]23" SelectedResource="[NI_Core_DataValues_TagRefnum]Pin1" Top="[float]30" Width="[float]150" xmlns="http://www.ni.com/InstrumentFramework/ScreenDocument" />
<ChannelPinSelector AllowUndefinedValues="[bool]True" BaseName="[string]Pin" Channel="[string]{26c56ad8-e31a-456d-979e-87865b3f5c61}/Configuration/pin_name" DataType="[Type]String" Enabled="[bool]True" Height="[float]24" Id="f7b79f2403f9467782561c9c75a54604" IsLabelBoundToChannel="[bool]False" Label="[UIModel]9905796649f44175a56f9eb34178d24e" Left="[float]23" SelectedResource="[NI_Core_DataValues_TagRefnum]Pin1" Top="[float]30" Width="[float]150" xmlns="http://www.ni.com/InstrumentFramework/ScreenDocument" />
<Label Height="[float]16" Id="9905796649f44175a56f9eb34178d24e" LabelOwner="[UIModel]f7b79f2403f9467782561c9c75a54604" Left="[float]23" Text="[string]Pin name" Top="[float]10" Width="[float]49" xmlns="http://www.ni.com/PanelCommon" />
<ChannelEnumSelector AdaptsToType="[bool]True" AllowNonSequentialValues="[bool]True" BaseName="[string]Enum" Channel="[string]{26c56ad8-e31a-456d-979e-87865b3f5c61}/Configuration/measurement_type" Height="[float]24" Id="dada7f23e27f4f468c0faf48553a7b66" IsLabelBoundToChannel="[bool]False" Label="[UIModel]570f36c6f42d4eb6a90f7e8a826ab54d" Left="[float]23" Top="[float]85" Width="[float]150" xmlns="http://www.ni.com/InstrumentFramework/ScreenDocument">
<RingSelectorInfo DisplayValue="[string]DC_VOLTS" IsEnabled="[bool]True" Value="[int]1" ValueType="[Type]Int32" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
<RingSelectorInfo DisplayValue="[string]AC_VOLTS" IsEnabled="[bool]True" Value="[int]2" ValueType="[Type]Int32" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
<ChannelEnumSelector AdaptsToType="[bool]True" AllowNonSequentialValues="[bool]True" BaseName="[string]Enum" Channel="[string]{26c56ad8-e31a-456d-979e-87865b3f5c61}/Configuration/measurement_type" Enabled="[bool]True" Height="[float]24" Id="dada7f23e27f4f468c0faf48553a7b66" IsLabelBoundToChannel="[bool]False" Label="[UIModel]570f36c6f42d4eb6a90f7e8a826ab54d" Left="[float]23" Top="[float]85" Width="[float]150" xmlns="http://www.ni.com/InstrumentFramework/ScreenDocument">
<RingSelectorInfo DisplayValue="[string]DC_VOLTS" IsEnabled="[bool]True" Value="[int]0" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
bkeryan marked this conversation as resolved.
Show resolved Hide resolved
<RingSelectorInfo DisplayValue="[string]AC_VOLTS" IsEnabled="[bool]True" Value="[int]1" xmlns="http://www.ni.com/Controls.LabVIEW.Design" />
</ChannelEnumSelector>
<Label Height="[float]16" Id="570f36c6f42d4eb6a90f7e8a826ab54d" LabelOwner="[UIModel]dada7f23e27f4f468c0faf48553a7b66" Left="[float]23" Text="[string]Measurement type" Top="[float]65" Width="[float]99" xmlns="http://www.ni.com/PanelCommon" />
</ScreenSurface>
Expand Down
Loading