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

Create Rx/Tx folders for subaddresses #116

Open
wants to merge 39 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
ce6077b
Update Add Subaddress.vi
Nov 11, 2024
34fa185
Adding subaddress under direction
Nov 12, 2024
fbd4994
Corrected the GUID for Direction
Nov 14, 2024
46058cc
Added a option to enable new feature with checkbox
Nov 18, 2024
20df019
Update GlobalVariables.vi
Nov 18, 2024
e9dd9d4
corrected the property name
Nov 19, 2024
c2e4f5f
Opening and saving the vi again to solve build issue
Nov 19, 2024
9d728c0
reverting changes
Nov 19, 2024
2484387
Update Constants.vi
Nov 19, 2024
0899a91
Modified the constant value
Nov 19, 2024
9253deb
Added new vi to page map
Nov 19, 2024
a473b06
Updated constants again by making current value as default
Nov 19, 2024
1704e40
Corrected glyph path + updated help + modified Configuration Files.vi
Nov 19, 2024
ad7578d
Importing parameters again even if include section value changes + Ne…
Nov 25, 2024
d015cbf
Update AIM MIL-STD-1553 Scripting.lvlib
Nov 25, 2024
6f096cd
Correction in wiring
Nov 26, 2024
af2c2cc
Update Handle Parameter Configuration File Change.vi
Nov 26, 2024
70c93d4
Adding additional logs
Nov 26, 2024
342b1e8
Added additional logs
Nov 26, 2024
dda718f
added additional logs
Nov 26, 2024
562b5c3
Updating refresh mechanism as per Include Direction Section value change
Nov 26, 2024
3cc15ea
reverting additional logs
Nov 26, 2024
3710b3a
reverting additional logs
Nov 26, 2024
43dc13d
Removing global variable
Nov 26, 2024
8b839c3
Adding include direction section option to scripting API
Nov 27, 2024
49c9241
Updated scripting example with include direction option
Nov 27, 2024
0754846
Spelling correction and alignment
Nov 28, 2024
ff45d30
Changed name -> "Include Direction Section" to "Create Tx/Rx Folders …
Dec 2, 2024
cbfd2e4
Making true as default value for "Create Rx/Tx folders for Subaddresses"
Dec 2, 2024
9a9e324
Updated Property name
Dec 2, 2024
09f44b5
Updated constant name
Dec 2, 2024
5297d6e
Excluding Remote terminal child items from Alphabetical Order arrange…
Dec 2, 2024
50eb3f2
Checking if the path is valid or not before refreshing - rearranged t…
Dec 2, 2024
f92c262
Changing the order just to trigger new PR build
Dec 3, 2024
a57cf51
Making true as default value for "Create Rx/Tx folders for Subaddresses"
Dec 4, 2024
8908c9c
Making the new bool parameter as recommended instead of required
Dec 4, 2024
0afae5f
Removed Boolean text
Dec 4, 2024
65c678f
Updated the custom device version
Dec 4, 2024
c3c3478
reverting the changes done regarding ExcludeFromAlphabeticalOrder
Dec 4, 2024
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
# Output directory
Built/

# Include directory
Includes/

# Intermediate Help Files
*.log
*.hhp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@
<Item Name="Add Configuration Files Section.vi" Type="VI" URL="../Configuration Files/Add Configuration Files Section.vi"/>
<Item Name="Get Configuration Files Section.vi" Type="VI" URL="../Configuration Files/Get Configuration Files Section.vi"/>
<Item Name="Get Parameters Configuration File.vi" Type="VI" URL="../Configuration Files/Get Parameters Configuration File.vi"/>
<Item Name="Get Property - Create Direction Subfolder.vi" Type="VI" URL="../Configuration Files/Get Property - Create Direction Subfolder.vi"/>
<Item Name="Get Property - Parameters Configuration File Required.vi" Type="VI" URL="../Configuration Files/Get Property - Parameters Configuration File Required.vi"/>
<Item Name="Get Property from different hierarchy - Create Direction Subfolder.vi" Type="VI" URL="../Configuration Files/Get Property from different hierarchy - Create Direction Subfolder.vi"/>
<Item Name="Import Configuration File.vi" Type="VI" URL="../Configuration Files/Import Configuration File.vi"/>
<Item Name="Set Parameters Configuration File.vi" Type="VI" URL="../Configuration Files/Set Parameters Configuration File.vi"/>
<Item Name="Set Property - Create Direction Folder.vi" Type="VI" URL="../Configuration Files/Set Property - Create Direction Folder.vi"/>
<Item Name="Set Property - Parameters Configuration File Required.vi" Type="VI" URL="../Configuration Files/Set Property - Parameters Configuration File Required.vi"/>
<Item Name="Update Parameters Configuration File Error.vi" Type="VI" URL="../Configuration Files/Update Parameters Configuration File Error.vi"/>
</Item>
Expand Down Expand Up @@ -129,6 +132,7 @@
<Item Name="Get Number of Words.vi" Type="VI" URL="../Messages and Subaddresses/Get Number of Words.vi"/>
<Item Name="Get Parameter Definition.vi" Type="VI" URL="../Messages and Subaddresses/Get Parameter Definition.vi"/>
<Item Name="Get Parameters.vi" Type="VI" URL="../Messages and Subaddresses/Get Parameters.vi"/>
<Item Name="Get Parent of Subaddress.vi" Type="VI" URL="../Messages and Subaddresses/Get Parent of Subaddress.vi"/>
<Item Name="Get Subaddress Endpoint.vi" Type="VI" URL="../Messages and Subaddresses/Get Subaddress Endpoint.vi"/>
<Item Name="Get Terminal Subaddress.vi" Type="VI" URL="../Messages and Subaddresses/Get Terminal Subaddress.vi"/>
<Item Name="Get Terminal Type.vi" Type="VI" URL="../Messages and Subaddresses/Get Terminal Type.vi"/>
Expand Down
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/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.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<Item Name="Bus Status Section.vi" Type="VI" URL="../System Explorer/Pages/Bus Status Section.vi"/>
<Item Name="Command Channel.vi" Type="VI" URL="../System Explorer/Pages/Command Channel.vi"/>
<Item Name="Configuration Files.vi" Type="VI" URL="../System Explorer/Pages/Configuration Files.vi"/>
<Item Name="Direction.vi" Type="VI" URL="../System Explorer/Pages/Direction.vi"/>
<Item Name="Execution Monitor.vi" Type="VI" URL="../System Explorer/Pages/Execution Monitor.vi"/>
<Item Name="Logging.vi" Type="VI" URL="../System Explorer/Pages/Logging.vi"/>
<Item Name="Main Page.vi" Type="VI" URL="../System Explorer/Pages/Main Page.vi"/>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
19 changes: 18 additions & 1 deletion Source/Custom Device/Custom Device AIM MIL-STD-1553.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<eng>NI::AIM MIL-STD-1553</eng>
<loc>NI::AIM MIL-STD-1553</loc>
</AddMenu>
<Version>1.0.0</Version>
<Version>1.1.0</Version>
<Type>Inline HW Interface</Type>
<MaxOccurrence>-1</MaxOccurrence>
<MainPageGUID>CA7BC298-6196-4AAD-B3DA-33017CCDCA53</MainPageGUID>
Expand Down Expand Up @@ -298,6 +298,23 @@
<Path>Custom Devices\AIM\MIL-STD-1553\Windows\AIM MIL-STD-1553 Configuration.llb\Page Wrapper.vi</Path>
</Item2Launch>
</Page>
<Page>
<Name>
<eng>Direction</eng>
<loc>Direction</loc>
</Name>
<DisallowRenaming>true</DisallowRenaming>
<DeleteProtection>true</DeleteProtection>
<GUID>5333719F-F2BC-4D23-960E-7A40219D41E7</GUID>
<Glyph>
<Type>To Application Data Dir</Type>
<Path>System Explorer\Glyphs\RM Folder.png</Path>
</Glyph>
<Item2Launch>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\AIM\MIL-STD-1553\Windows\AIM MIL-STD-1553 Configuration.llb\Page Wrapper.vi</Path>
</Item2Launch>
</Page>
<Page>
<Name>
<eng>Subaddress</eng>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ <h1>Configuration Files</h1>
<p>This section has the following configuration settings:
<ul>
<li><strong>Parameters Configuration File Path</strong>&#8212;Specifies the path to the parameters configuration file.</li>
<li><strong>Create Tx/Rx Folders for Subaddresses?</strong>&#8212;If the checkbox is selected, subaddresses will be added under the direction (Rx/Tx) section. Use this option when two messages have the same terminal and sub addresses but differ by direction.</li>
<li><strong>Refresh</strong>&#8212;Invokes the <strong>Refresh</strong> dialog box. Use this dialog box to view changes to a configuration when importing a new parameters configuration file or when the parameters configuration file has changed on disk.</li>
</ul></p>
</body>
Expand Down
32 changes: 32 additions & 0 deletions Source/Custom Device/Help/HTML Help Source/Direction.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
Generated by HTML Help Compile Tools. You can modify this directly with the HTML editor of your choice,
or you can open it in Word, edit it, and save it as a .htm or .html file.
-->


<html>
<head>
<meta http-equiv="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<title>Direction</title>
<link rel="STYLESHEET" type="text/css" href="css/VSsystemexplorer.css">
<script src="common.js" type="text/javascript"></script><script src="js/expandable_tree.js" type="text/javascript"></script>
<link rel="STYLESHEET" type="text/css" href="css/expandable_tree.css">
<script src="launchhelp.js" type="text/javascript"></script><script src="js/dynamicjumps.js" type="text/javascript"></script>
</head>
<body>
<noscript>
<p class="Body">JavaScript is disabled. <a href="veristandmerge.chm::/JavaScript_Disabled.html">Details</a></p>
<hr width="100%" noshade>
</noscript>
<h1>Direction</h1>
<p>Direction folder for Remote terminal messages</p>
<p>This section has the following configuration settings:
<ul>
<li><strong>Name</strong>&#8212;Specifies the name of the section in the system definition.</li>
<li><strong>Description</strong>&#8212;Describes the section.</li>
</ul></p>
</p>
</body>
</html>
Binary file not shown.