Skip to content

Commit

Permalink
enable disable functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
papowerNI committed Mar 3, 2022
1 parent a92aa3d commit 478d748
Show file tree
Hide file tree
Showing 19 changed files with 229 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ Hardware configuration file path must equal a path to an existing hardware confi
<nierror code="-732359">
Parameter configuration file MD5 checksum is not equal to the MD5 checksum saved in the system definition. This difference indicates that the parameter configuration file has changed since import.
</nierror>
<nierror code="-732360">
Invalid GUID stored for this item.
</nierror>
</nidocument>
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
</Item>
<Item Name="Custom Device" Type="Folder">
<Item Name="Add Custom Device.vi" Type="VI" URL="../Custom Device/Add Custom Device.vi"/>
<Item Name="Check If Custom Device Enabled.vi" Type="VI" URL="../Custom Device/Check If Custom Device Enabled.vi"/>
<Item Name="Disable Custom Device.vi" Type="VI" URL="../Custom Device/Disable Custom Device.vi"/>
<Item Name="Enable Custom Device.vi" Type="VI" URL="../Custom Device/Enable Custom Device.vi"/>
<Item Name="Add Status Section.vi" Type="VI" URL="../Custom Device/Add Status Section.vi"/>
<Item Name="Check If Error Exists.vi" Type="VI" URL="../Custom Device/Check If Error Exists.vi"/>
<Item Name="Export Custom Device.vi" Type="VI" URL="../Custom Device/Export Custom Device.vi"/>
Expand Down
Binary file modified Source/Custom Device Support/Scripting/Constants.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Source/Custom Device Support/Scripting/Palettes/dir.mnu
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@
<Item Name="Trigger Channel.vi" Type="VI" URL="../System Explorer/Pages/Trigger Channel.vi"/>
</Item>
<Item Name="RTM" Type="Folder">
<Item Name="EnableDisable RTM.vi" Type="VI" URL="../System Explorer/RTM/EnableDisable RTM.vi"/>
<Item Name="Export Configuration RTM.vi" Type="VI" URL="../System Explorer/RTM/Export Configuration RTM.vi"/>
<Item Name="Import Configuration RTM.vi" Type="VI" URL="../System Explorer/RTM/Import Configuration RTM.vi"/>
</Item>
<Item Name="SubVIs" Type="Folder">
<Item Name="Channel Cluster to Table.vi" Type="VI" URL="../System Explorer/subVIs/Channel Cluster to Table.vi"/>
<Item Name="Check If Custom Device Enabled.vi" Type="VI" URL="../System Explorer/subVIs/Check If Custom Device Enabled.vi"/>
<Item Name="Device Parameters to Configuration Elements.vi" Type="VI" URL="../System Explorer/subVIs/Device Parameters to Configuration Elements.vi"/>
<Item Name="Load Help File.vi" Type="VI" URL="../System Explorer/Load Help File.vi"/>
<Item Name="Set System Explorer Busy.vi" Type="VI" URL="../System Explorer/subVIs/Set System Explorer Busy.vi"/>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
117 changes: 93 additions & 24 deletions Source/Custom Device/Ballard MIL-STD-1553 Custom Device.lvproj

Large diffs are not rendered by default.

127 changes: 127 additions & 0 deletions Source/Custom Device/Custom Device Ballard MIL-STD-1553.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,133 @@
<Path>Custom Devices\Ballard\MIL-STD-1553\Windows\Ballard MIL-STD-1553 Configuration.llb\Page Wrapper.vi</Path>
</Item2Launch>
<RunTimeMenu>
<MenuItem>
<GUID>FC4134F5-F6E1-498E-BE2C-70048666CD6C</GUID>
<Type>Action</Type>
<Name>
<eng>Disable</eng>
<loc>Disable</loc>
</Name>
<Item2Launch>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\Ballard\MIL-STD-1553\Windows\Ballard MIL-STD-1553 Configuration.llb\EnableDisable RTM.vi</Path>
</Item2Launch>
</MenuItem>
<MenuItem>
<GUID>578CC3A5-244C-451B-B5DE-59D8A0593F48</GUID>
<Type>Action</Type>
<Execution>silent</Execution>
<Name>
<eng>Export Configuration</eng>
<loc>Export Configuration</loc>
</Name>
<Item2Launch>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\Ballard\MIL-STD-1553\Windows\Ballard MIL-STD-1553 Configuration.llb\Export Configuration RTM.vi</Path>
</Item2Launch>
</MenuItem>
<MenuItem>
<GUID>1138C7C9-33B0-4D4F-A2A8-5116F8B4F20E</GUID>
<Type>Action</Type>
<Execution>silent</Execution>
<Name>
<eng>Import Configuration</eng>
<loc>Import Configuration</loc>
</Name>
<Item2Launch>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\Ballard\MIL-STD-1553\Windows\Ballard MIL-STD-1553 Configuration.llb\Import Configuration RTM.vi</Path>
</Item2Launch>
</MenuItem>
</RunTimeMenu>
<ButtonList>
<Button>
<ID>c90d1b42-9eb1-4e89-92b6-6c073196ade9-Button</ID>
<Glyph>
<Type>To Application Data Dir</Type>
<Path>System Explorer\Glyphs\Export.png</Path>
</Glyph>
<Type>Action</Type>
<ReferencedGUID>578CC3A5-244C-451B-B5DE-59D8A0593F48</ReferencedGUID>
<ButtonText>
<eng>Export Configuration</eng>
<loc>Export Configuration</loc>
</ButtonText>
<Caption>
<eng>Export Configuration</eng>
<loc>Export Configuration</loc>
</Caption>
<TipStrip>
<eng>Export Custom Device Configuration</eng>
<loc>Export Custom Device Configuration</loc>
</TipStrip>
<Documentation>
<eng>Export Custom Device Configuration</eng>
<loc>Export Custom Device Configuration</loc>
</Documentation>
</Button>
<Button>
<ID>089728fe-9b2f-4073-8646-572ad1172b32-Button</ID>
<Glyph>
<Type>To Application Data Dir</Type>
<Path>System Explorer\Glyphs\Import.png</Path>
</Glyph>
<Type>Action</Type>
<ReferencedGUID>1138C7C9-33B0-4D4F-A2A8-5116F8B4F20E</ReferencedGUID>
<ButtonText>
<eng>Import Configuration</eng>
<loc>Import Configuration</loc>
</ButtonText>
<Caption>
<eng>Import Configuration</eng>
<loc>Import Configuration</loc>
</Caption>
<TipStrip>
<eng>Import Custom Device Configuration</eng>
<loc>Import Custom Device Configuration</loc>
</TipStrip>
<Documentation>
<eng>Import Custom Device Configuration</eng>
<loc>Import Custom Device Configuration</loc>
</Documentation>
</Button>
</ButtonList>
<ActionVIOnLoad>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\Ballard\MIL-STD-1553\Windows\Ballard MIL-STD-1553 Configuration.llb\ActionVIOnLoad.vi</Path>
</ActionVIOnLoad>
<ActionVIOnCompile>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\Ballard\MIL-STD-1553\Windows\Ballard MIL-STD-1553 Configuration.llb\ActionVIOnCompile.vi</Path>
</ActionVIOnCompile>
</Page>
<Page>
<Name>
<eng>Ballard MIL-STD-1553</eng>
<loc>Ballard MIL-STD-1553</loc>
</Name>
<GUID>761B115A-86B7-47EB-B23B-3D19352FD247</GUID>
<Glyph>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\Ballard\MIL-STD-1553\Windows\Glyphs\Disabled.png</Path>
</Glyph>
<Item2Launch>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\Ballard\MIL-STD-1553\Windows\Ballard MIL-STD-1553 Configuration.llb\Page Wrapper.vi</Path>
</Item2Launch>
<RunTimeMenu>
<MenuItem>
<GUID>FC4134F5-F6E1-498E-BE2C-70048666CD6C</GUID>
<Type>Action</Type>
<Name>
<eng>Enable</eng>
<loc>Enable</loc>
</Name>
<Item2Launch>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\Ballard\MIL-STD-1553\Windows\Ballard MIL-STD-1553 Configuration.llb\EnableDisable RTM.vi</Path>
</Item2Launch>
</MenuItem>
<MenuItem>
<GUID>578CC3A5-244C-451B-B5DE-59D8A0593F48</GUID>
<Type>Action</Type>
Expand Down
Binary file added Source/Custom Device/Glyphs/Disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Source/Custom Device/System Explorer/ActionVIOnCompile.vi
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<Item Name="Dynamically Called" Type="Folder">
<Item Name="ActionVIOnCompile.vi" Type="VI" URL="../ActionVIOnCompile.vi"/>
<Item Name="ActionVIOnLoad.vi" Type="VI" URL="../ActionVIOnLoad.vi"/>
<Item Name="EnableDisable RTM.vi" Type="VI" URL="../EnableDisable RTM.vi"/>
<Item Name="Export Configuration RTM.vi" Type="VI" URL="../Export Configuration RTM.vi"/>
<Item Name="Import Configuration RTM.vi" Type="VI" URL="../Import Configuration RTM.vi"/>
<Item Name="Initialization VI.vi" Type="VI" URL="../Initialization VI.vi"/>
Expand Down
Binary file not shown.

0 comments on commit 478d748

Please sign in to comment.