Skip to content

Commit

Permalink
examples: Update NI-Scope to demonstrate PinGroup usage (#495)
Browse files Browse the repository at this point in the history
* feat: Update ni scope example to demonstrate pin group usage.
  • Loading branch information
Avinash2Suresh authored Mar 12, 2024
1 parent c68f394 commit 22c4078
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 19 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<SourceFile Checksum="2822708A41326106E953BD985B47CB780FD3F2958839FF36C024BDACCB34CB75DEA3FB514DCE4073AE27A4287F8B43A3CFB9D8F404A118390AC31A6CAAD61AD2" xmlns="http://www.ni.com/PlatformFramework">
<SourceFile Checksum="1434F2C56763EB8E20C2C7D860A969DCE5808D5D007E22ED0B8AC95A86B94C4E73A1DFE521B7D8B4B531AFB0CDD17EFB51B2718CD1EC7993D2E59940973FB82B" xmlns="http://www.ni.com/PlatformFramework">
<SourceModelFeatureSet>
<ParsableNamespace AssemblyFileVersion="23.8.0.1886" FeatureSetName="Pin Map" Name="http://www.ni.com/InstrumentFramework/PinMap" OldestCompatibleVersion="21.3.0.0" Version="21.3.0.0" />
<ParsableNamespace AssemblyFileVersion="9.10.0.1886" FeatureSetName="Editor" Name="http://www.ni.com/PlatformFramework" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ApplicationVersionInfo Build="23.8.0.1886" Name="InstrumentStudio" PersistenceVersion="22.1.0.0" Version="23.8.0.1886" />
<ParsableNamespace AssemblyFileVersion="24.0.0.49505" FeatureSetName="Pin Map" Name="http://www.ni.com/InstrumentFramework/PinMap" OldestCompatibleVersion="21.3.0.0" Version="21.3.0.0" />
<ParsableNamespace AssemblyFileVersion="9.11.0.49505" FeatureSetName="Editor" Name="http://www.ni.com/PlatformFramework" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ApplicationVersionInfo Build="24.0.0.49505" Name="InstrumentStudio" PersistenceVersion="22.1.0.0" Version="24.0.0.49505" />
</SourceModelFeatureSet>
<Project xmlns="http://www.ni.com/PlatformFramework">
<EnvoyManagerRootEnvoy Id="736390d4acb7488497c6109883446e81" ModelDefinitionType="EnvoyManagerRootEnvoy" Name="RootEnvoy" />
Expand All @@ -12,8 +12,8 @@
</EmbeddedDefinitionReference>
<NameScopingEnvoy Id="8baea853190942178dea15b0ac766676" ModelDefinitionType="DefaultTarget" Name="DefaultTarget">
<DefaultTarget />
<SourceFileReference Bindings="EnvoyManager" Id="e0caf09b5296440799e2e445aa7fe573" ModelDefinitionType="NationalInstruments.InstrumentFramework.Document.SourceModel.UnifiedTask" Name="NIScopeAcquireWaveform.sfp" StoragePath="NIScopeAcquireWaveform.sfp" />
<FileReference Id="db481ab50bdc4e91a49cc318e2a55cef" ModelDefinitionType="{http://www.ni.com/InstrumentFramework/PinMap}PinMapDefinition" Name="NIScopeAcquireWaveform.pinmap" StoragePath="NIScopeAcquireWaveform.pinmap" p4:IsActive="True" xmlns:p4="http://www.ni.com/InstrumentFramework/PinMap" />
<SourceFileReference Bindings="EnvoyManager" Id="ea0f8ea088b649dbad72ff0a0e995c5d" ModelDefinitionType="NationalInstruments.InstrumentFramework.Document.SourceModel.UnifiedTask" Name="NIScopeAcquireWaveform.sfp" StoragePath="NIScopeAcquireWaveform.sfp" />
</NameScopingEnvoy>
</Project>
<ProjectInformation xmlns="http://www.ni.com/PlatformFramework" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@
<DUTPin name="Pin3" />
<DUTPin name="Pin4" />
</Pins>
<PinGroups></PinGroups>
<PinGroups>
<PinGroup name="PinGroup1">
<PinReference pin="Pin1" />
<PinReference pin="Pin2" />
<PinReference pin="Pin3" />
<PinReference pin="Pin4" />
</PinGroup>
</PinGroups>
<Sites>
<Site siteNumber="0" />
</Sites>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<SourceFile Checksum="B1A680D4480A07C57605312E00FC86926CB4FD6AE62640E93B3BA5C618886139216622E6D894022C584CE919D7A81AB4E77B3E700BB5B426EED967E2CC609CF1" Timestamp="1D9FD490A7E991F" xmlns="http://www.ni.com/PlatformFramework">
<SourceFile Checksum="2675BE9CBA19FE02F3D8E0C693FA631A3EF48A3FB465E34B039B843EE8494B5E615EC3562A73E60E8BBC4C1F2CAFA7BBCD8BB1C46EB18872955C569E3B6A7E50" Timestamp="1DA7482E29DD9F7" xmlns="http://www.ni.com/PlatformFramework">
<SourceModelFeatureSet>
<ParsableNamespace AssemblyFileVersion="9.10.0.1886" FeatureSetName="Configuration Based Software Core" Name="http://www.ni.com/ConfigurationBasedSoftware.Core" OldestCompatibleVersion="6.3.0.49152" Version="9.8.1.49152" />
<ParsableNamespace AssemblyFileVersion="23.8.0.1886" FeatureSetName="UnifiedTask" Name="http://www.ni.com/InstrumentFramework/Document/SourceModel/UnifiedSoftFrontPanel" Version="1.0.0.0" />
<ParsableNamespace AssemblyFileVersion="23.8.0.1886" FeatureSetName="InstrumentStudio Measurement UI" Name="http://www.ni.com/InstrumentFramework/ScreenDocument" OldestCompatibleVersion="22.1.0.1" Version="22.1.0.1" />
<ParsableNamespace AssemblyFileVersion="9.10.0.1886" FeatureSetName="Editor" Name="http://www.ni.com/PlatformFramework" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ApplicationVersionInfo Build="23.8.0.1886" Name="InstrumentStudio" PersistenceVersion="22.1.0.0" Version="23.8.0.1886" />
<ParsableNamespace AssemblyFileVersion="9.11.0.49428" FeatureSetName="Configuration Based Software Core" Name="http://www.ni.com/ConfigurationBasedSoftware.Core" OldestCompatibleVersion="6.3.0.49152" Version="9.8.1.49152" />
<ParsableNamespace AssemblyFileVersion="24.0.0.49505" FeatureSetName="UnifiedTask" Name="http://www.ni.com/InstrumentFramework/Document/SourceModel/UnifiedSoftFrontPanel" Version="1.0.0.0" />
<ParsableNamespace AssemblyFileVersion="24.0.0.49428" FeatureSetName="InstrumentStudio Measurement UI" Name="http://www.ni.com/InstrumentFramework/ScreenDocument" OldestCompatibleVersion="22.1.0.1" Version="22.1.0.1" />
<ParsableNamespace AssemblyFileVersion="9.11.0.49505" FeatureSetName="Editor" Name="http://www.ni.com/PlatformFramework" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ApplicationVersionInfo Build="24.0.0.49505" Name="InstrumentStudio" PersistenceVersion="22.1.0.0" Version="24.0.0.49505" />
</SourceModelFeatureSet>
<UnifiedTask Id="967d14c535f84438b13a2ea18e1ac877" LayoutInformation="{&quot;Format Version&quot;:1,&quot;Application Format Version&quot;:23.0,&quot;Layout Information&quot;:{&quot;Sections&quot;:[{&quot;Columns Progressive Count&quot;:1,&quot;Layout Information Presentation&quot;:&quot;ConfigurationWithVisualization&quot;,&quot;Columns&quot;:[{&quot;Containers Progressive Count&quot;:1,&quot;Layout Information Index&quot;:0,&quot;Containers&quot;:[{&quot;Container Model Defition&quot;:&quot;{http://www.ni.com/InstrumentFramework/ScreenDocument}Screen&quot;,&quot;Container Assignment State&quot;:&quot;Available&quot;,&quot;Container Identifier&quot;:&quot;{http://www.ni.com/InstrumentFramework/ScreenDocument}Screen.task&quot;,&quot;Container Instrument Name&quot;:&quot;NI-SCOPE Acquire Waveform&quot;,&quot;Layout Information Name&quot;:&quot;NI-SCOPE Acquire Waveform 1&quot;,&quot;Layout Information Index&quot;:0,&quot;Layout Information Presentation&quot;:&quot;ConfigurationWithVisualization&quot;,&quot;Items&quot;:[{&quot;Identification Number&quot;:4294963201,&quot;Model Definition Type&quot;:&quot;{http://www.ni.com/InstrumentFramework/ScreenDocument}Screen&quot;,&quot;Parent Or Group Name&quot;:&quot;Measurements&quot;,&quot;Panel Type&quot;:&quot;NI-SCOPE Acquire Waveform&quot;,&quot;Layout Information Name&quot;:&quot;ni.examples.NISCOPEAcquireWaveform_LabVIEW&quot;,&quot;Layout Information Index&quot;:0}]}]}]},{&quot;Columns Progressive Count&quot;:0,&quot;Layout Information Presentation&quot;:&quot;ConfigurationOnly&quot;}]}}" PinAwareInformation="{&quot;Format Version&quot;:1,&quot;Application Format Version&quot;:23.0,&quot;Selected Sites&quot;:[{&quot;Site Number&quot;:0}]}" xmlns="http://www.ni.com/InstrumentFramework/Document/SourceModel/UnifiedSoftFrontPanel" />
<EnvoyManagerFile Id="9cd6d95df8b84a5286085dbe75d7c552" xmlns="http://www.ni.com/PlatformFramework">
<EnvoyManagerRootEnvoy Id="23cf6e785ea249ff96da0a58c019bf52" ModelDefinitionType="EnvoyManagerRootEnvoy" Name="RootEnvoy" />
<NameScopingEnvoy AutomaticallyResolveUp="True" Id="a052d9ee7ea74a60a5acd7eca2063adc" Name="NIScopeAcquireWaveform.sfp" NameTracksFileName="True" />
<EmbeddedDefinitionReference Id="e40ffa0560494865ba7d94585335a214" ModelDefinitionType="{http://www.ni.com/InstrumentFramework/ScreenDocument}Screen" Name="{http\://www.ni.com/InstrumentFramework/ScreenDocument}Screen.task">
<Screen ClientId="{f857651c-c43e-4c4d-9111-406b16cd6760}" ConfigurationParameters="{&quot;@type&quot;:&quot;type.googleapis.com/ConfigurationParameter&quot;,&quot;pin names&quot;:[&quot;Pin1&quot;,&quot;Pin2&quot;,&quot;Pin3&quot;,&quot;Pin4&quot;],&quot;vertical range&quot;:5.0,&quot;vertical coupling&quot;:1,&quot;input impedance&quot;:0,&quot;minimum sample rate&quot;:10000000.0,&quot;minimum record length&quot;:40000,&quot;trigger source&quot;:&quot;Pin1&quot;,&quot;trigger level&quot;:0.5,&quot;trigger slope&quot;:0,&quot;timeout&quot;:5.0,&quot;trigger coupling&quot;:1}" DisplayName="NI-SCOPE Acquire Waveform" Id="8ad7ce2c6dfc433db77254368e1c54b4" PanelPresentation="ConfigurationWithVisualization" ServiceClass="ni.examples.NISCOPEAcquireWaveform_LabVIEW" xmlns="http://www.ni.com/InstrumentFramework/ScreenDocument">
<ScreenSurface BackgroundColor="[SMSolidColorBrush]#ffffffff" Height="[float]400" Id="78134e30b4e0440aaa8a21defe8ab2b4" Left="[float]0" PanelSizeMode="Fixed" Top="[float]0" Width="[float]800" xmlns="http://www.ni.com/ConfigurationBasedSoftware.Core" />
<UnifiedTask Id="8230d8d5a76e49698e6b2ae01b4c6881" LayoutInformation="{&quot;Format Version&quot;:1,&quot;Application Format Version&quot;:24.0,&quot;Layout Information&quot;:{&quot;Sections&quot;:[{&quot;Columns Progressive Count&quot;:1,&quot;Layout Information Presentation&quot;:&quot;ConfigurationWithVisualization&quot;,&quot;Columns&quot;:[{&quot;Containers Progressive Count&quot;:1,&quot;Layout Information Index&quot;:0,&quot;Containers&quot;:[{&quot;Container Model Defition&quot;:&quot;{http://www.ni.com/InstrumentFramework/ScreenDocument}Screen&quot;,&quot;Container Assignment State&quot;:&quot;Available&quot;,&quot;Container Identifier&quot;:&quot;{http://www.ni.com/InstrumentFramework/ScreenDocument}Screen.task&quot;,&quot;Container Instrument Name&quot;:&quot;NI-SCOPE Acquire Waveform&quot;,&quot;Layout Information Name&quot;:&quot;NI-SCOPE Acquire Waveform 1&quot;,&quot;Layout Information Index&quot;:0,&quot;Layout Information Presentation&quot;:&quot;ConfigurationWithVisualization&quot;,&quot;Items&quot;:[{&quot;Identification Number&quot;:4294963201,&quot;Model Definition Type&quot;:&quot;{http://www.ni.com/InstrumentFramework/ScreenDocument}Screen&quot;,&quot;Parent Or Group Name&quot;:&quot;NI.Examples&quot;,&quot;Panel Type&quot;:&quot;NI-SCOPE Acquire Waveform&quot;,&quot;Layout Information Name&quot;:&quot;ni.examples.NISCOPEAcquireWaveform_LabVIEW&quot;,&quot;Layout Information Index&quot;:0}]}]}]},{&quot;Columns Progressive Count&quot;:0,&quot;Layout Information Presentation&quot;:&quot;ConfigurationOnly&quot;}]}}" PinAwareInformation="{&quot;Format Version&quot;:1,&quot;Application Format Version&quot;:24.0,&quot;Selected Sites&quot;:[{&quot;Site Number&quot;:0}]}" xmlns="http://www.ni.com/InstrumentFramework/Document/SourceModel/UnifiedSoftFrontPanel" />
<EnvoyManagerFile Id="3e2bcdc22e9d43909244033a4193e327" xmlns="http://www.ni.com/PlatformFramework">
<EnvoyManagerRootEnvoy Id="b198530778c245cdab500e329c503a8e" ModelDefinitionType="EnvoyManagerRootEnvoy" Name="RootEnvoy" />
<NameScopingEnvoy AutomaticallyResolveUp="True" Id="ad63a3e721a340d7bec38343dd04774f" Name="NIScopeAcquireWaveform.sfp" NameTracksFileName="True" />
<EmbeddedDefinitionReference Id="f14b2ada07ca4502baa4a8414cc504c4" ModelDefinitionType="{http://www.ni.com/InstrumentFramework/ScreenDocument}Screen" Name="{http\://www.ni.com/InstrumentFramework/ScreenDocument}Screen.task">
<Screen ClientId="{9d2a5a07-c052-48c5-8a3c-6264c0895300}" ConfigurationParameters="{&quot;@type&quot;:&quot;type.googleapis.com/ConfigurationParameter&quot;,&quot;pin names&quot;:[&quot;PinGroup1&quot;],&quot;vertical range&quot;:5.0,&quot;vertical coupling&quot;:1,&quot;input impedance&quot;:0,&quot;minimum sample rate&quot;:10000000.0,&quot;minimum record length&quot;:40000,&quot;trigger source&quot;:&quot;Pin1&quot;,&quot;trigger level&quot;:0.5,&quot;trigger slope&quot;:0,&quot;timeout&quot;:5.0,&quot;trigger coupling&quot;:1}" DisplayName="NI-SCOPE Acquire Waveform" Id="70392feac87b4ea59609a6bc45318036" PanelPresentation="ConfigurationWithVisualization" ServiceClass="ni.examples.NISCOPEAcquireWaveform_LabVIEW" xmlns="http://www.ni.com/InstrumentFramework/ScreenDocument">
<ScreenSurface BackgroundColor="[SMSolidColorBrush]#ffffffff" Height="[float]400" Id="57e7543af85f409ca53022cf170ecf80" Left="[float]0" PanelSizeMode="Fixed" Top="[float]0" Width="[float]800" xmlns="http://www.ni.com/ConfigurationBasedSoftware.Core" />
</Screen>
</EmbeddedDefinitionReference>
</EnvoyManagerFile>
Expand Down

0 comments on commit 22c4078

Please sign in to comment.