Skip to content

Commit

Permalink
Merge pull request #5 from agomez08/master
Browse files Browse the repository at this point in the history
Adding frame counters and bus load measurement for CAN
  • Loading branch information
czokubik authored Mar 4, 2020
2 parents 0915af2 + d7bb5e5 commit d20ca37
Show file tree
Hide file tree
Showing 84 changed files with 1,823 additions and 1,568 deletions.
2 changes: 1 addition & 1 deletion AutoBuild (LabVIEW CLI).bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set "BuildProject=Source\NI-XNET Monitor Custom Device.lvproj"
set "BuildProjectTargetsList="My Computer" "RT PXI Target" "RT CompactRIO Target" "RT CompactRIO Target - Linux ARM" "RT CompactRIO Target - Linux x64""

set LabVIEWCLI=C:\Program Files (x86)\National Instruments\Shared\LabVIEW CLI\LabVIEWCLI.exe
set LabVIEWPath="C:\Program Files (x86)\National Instruments\LabVIEW 2017\LabVIEW.exe"
set LabVIEWPath="C:\Program Files (x86)\National Instruments\LabVIEW 2018\LabVIEW.exe"

@echo off

Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
//Leave the above line alone. It identifies this as a groovy script.
@Library('vs-common-build') _

def lvVersions = ['2019','2018','2017']
def lvVersions = ['2019','2018']

ni.vsbuild.PipelineExecutor.execute(this, lvVersions)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# NI-XNET-Monitor-Custom-Device

The NI-XNET Monitor Custom Device allows a user to run subordinate XNET session for each port in the system to be able to monitor port status, error counters and other interface health indicators. It's implemented as HW Inline Asynchronous Custom Device.
The NI-XNET Monitor Custom Device allows a user to run subordinate XNET session for each port in the system to be able to monitor port status, error counters, frame counter and other interface health indicators. This custom device also allows estimating the bus load present for the CAN buses added to the system. It's implemented as HW Inline Asynchronous Custom Device.

### LabVIEW Version ###

This code was developed with LabVIEW and VeriStand 2017.
This code was developed with LabVIEW and VeriStand 2018.

### Built Availability ###

Expand Down
2 changes: 1 addition & 1 deletion Source/Custom Device NI-XNET Monitor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<eng>NI-XNET Monitor</eng>
<loc>NI-XNET Monitor</loc>
</AddMenu>
<Version>1.0.0</Version>
<Version>2.0.0</Version>
<Type>Inline HW Interface</Type>
<MaxOccurrence>1</MaxOccurrence>
<MainPageGUID>2fba45b0-1589-4179-a966-5fc49498794e</MainPageGUID>
Expand Down
Binary file added Source/Engine/Bus Load/CANBus/Add Rx Frames.vi
Binary file not shown.
237 changes: 237 additions & 0 deletions Source/Engine/Bus Load/CANBus/CANBus_Load_Calculator.lvclass

Large diffs are not rendered by default.

Binary file added Source/Engine/Bus Load/CANBus/Create.vi
Binary file not shown.
Binary file added Source/Engine/Bus Load/CANBus/Destroy.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 not shown.
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 not shown.
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 not shown.
Binary file not shown.
Binary file not shown.
21 changes: 21 additions & 0 deletions Source/Engine/Bus Load/XNET-Bus-Load-Calculator.lvlib

Large diffs are not rendered by default.

Binary file removed Source/Engine/Create NI-XNET Session.vi
Binary file not shown.
Binary file modified Source/Engine/NI-XNET Monitor Async.vi
Binary file not shown.
111 changes: 60 additions & 51 deletions Source/Engine/NI-XNET Monitor Engine.lvlib

Large diffs are not rendered by default.

Binary file modified Source/Engine/NI-XNET Monitor Exit.vi
Binary file not shown.
Binary file modified Source/Engine/NI-XNET Monitor Get Comm State.vi
Binary file not shown.
Binary file modified Source/Engine/NI-XNET Monitor Init.vi
Binary file not shown.
Binary file modified Source/Engine/NI-XNET Monitor Start.vi
Binary file not shown.
Binary file modified Source/Engine/RT Driver VI.vi
Binary file not shown.
Binary file removed Source/Engine/RTMonitorRefnums.ctl
Binary file not shown.
Binary file removed Source/Engine/RTStateVariables.ctl
Binary file not shown.
Binary file added Source/Engine/support/CAN Get Comm State.vi
Binary file not shown.
Binary file added Source/Engine/support/CAN Monitor Init.vi
Binary file not shown.
Binary file added Source/Engine/support/Create NI-XNET Session.vi
Binary file not shown.
Binary file added Source/Engine/support/Frame Counter.vi
Binary file not shown.
Binary file added Source/Engine/typedefs/CANBus.Settings.ctl
Binary file not shown.
Binary file added Source/Engine/typedefs/RTMonitorRefnums.ctl
Binary file not shown.
Binary file added Source/Engine/typedefs/RTStateVariables.ctl
Binary file not shown.
Binary file modified Source/Help/Build CHM.vi
Binary file not shown.
Binary file modified Source/Help/Load Help File.vi
Binary file not shown.
66 changes: 33 additions & 33 deletions Source/Help/NI-XNET Monitor.hhp
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
[OPTIONS]
Compatibility=1.1 or later
Compiled File=NI-XNET Monitor.chm
Default Topic=HTML Help Source\Main.htm
Display compile progress=No
Language=0x409 English (United States)
Title=NI-XNET Monitor

[FILES]
HTML Help Source\css\expandable_tree.css
HTML Help Source\css\VSsystemexplorer.css
HTML Help Source\js\arraytools.js
HTML Help Source\js\checkinstalled.js
HTML Help Source\js\common.js
HTML Help Source\js\cssframes.js
HTML Help Source\js\domtools.js
HTML Help Source\js\dynamiccontent.js
HTML Help Source\js\dynamicjumps.js
HTML Help Source\js\dynamiclinks.js
HTML Help Source\js\expandable_tree.js
HTML Help Source\js\feedbacklink.js
HTML Help Source\js\Globals.js
HTML Help Source\js\initpagedyn.js
HTML Help Source\js\launchhelp.js
HTML Help Source\js\linking.js
HTML Help Source\js\objectnames.js
HTML Help Source\js\osbrowser.js
HTML Help Source\js\pdf.js
HTML Help Source\js\polyviselect.js
HTML Help Source\js\stylesheets.js
HTML Help Source\js\variables.js
HTML Help Source\js\web.js
HTML Help Source\Main.htm
[OPTIONS]
Compatibility=1.1 or later
Compiled File=NI-XNET Monitor.chm
Default Topic=HTML Help Source\Main.htm
Display compile progress=No
Language=0x409 English (United States)
Title=NI-XNET Monitor
[FILES]
HTML Help Source\css\expandable_tree.css
HTML Help Source\css\VSsystemexplorer.css
HTML Help Source\js\arraytools.js
HTML Help Source\js\checkinstalled.js
HTML Help Source\js\common.js
HTML Help Source\js\cssframes.js
HTML Help Source\js\domtools.js
HTML Help Source\js\dynamiccontent.js
HTML Help Source\js\dynamicjumps.js
HTML Help Source\js\dynamiclinks.js
HTML Help Source\js\expandable_tree.js
HTML Help Source\js\feedbacklink.js
HTML Help Source\js\Globals.js
HTML Help Source\js\initpagedyn.js
HTML Help Source\js\launchhelp.js
HTML Help Source\js\linking.js
HTML Help Source\js\objectnames.js
HTML Help Source\js\osbrowser.js
HTML Help Source\js\pdf.js
HTML Help Source\js\polyviselect.js
HTML Help Source\js\stylesheets.js
HTML Help Source\js\variables.js
HTML Help Source\js\web.js
HTML Help Source\Main.htm
2,792 changes: 1,386 additions & 1,406 deletions Source/NI-XNET Monitor Custom Device.lvproj

Large diffs are not rendered by default.

Binary file added Source/Shared/BusLoad.Settings.ctl
Binary file not shown.
Binary file modified Source/Shared/Compiled.Data.ctl
Binary file not shown.
Binary file modified Source/Shared/Constants.vi
Binary file not shown.
12 changes: 7 additions & 5 deletions Source/Shared/NI-XNET Monitor Shared.lvlib

Large diffs are not rendered by default.

Binary file modified Source/System Explorer/ActionVIOnCompile.vi
Binary file not shown.
Binary file modified Source/System Explorer/ActionVIOnDelete.vi
Binary file not shown.
Binary file modified Source/System Explorer/ActionVIOnLoad.vi
Binary file not shown.
Binary file modified Source/System Explorer/ActionVIOnSave.vi
Binary file not shown.
Binary file modified Source/System Explorer/Add Monitoring Channels.vi
Binary file not shown.
Binary file modified Source/System Explorer/Add Monitoring port tree.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Source/System Explorer/Get Monitoring CD ports.vi
Binary file not shown.
Binary file modified Source/System Explorer/Get Referenced NI-XNET Port Item IDs.vi
Binary file not shown.
Binary file modified Source/System Explorer/Get ni-xnet port Info.vi
Binary file not shown.
Binary file modified Source/System Explorer/Get ni-xnet ports.vi
Binary file not shown.
Binary file modified Source/System Explorer/Initialization VI.vi
Binary file not shown.
Binary file modified Source/System Explorer/Interface.vi
Binary file not shown.
Binary file modified Source/System Explorer/Main Page.vi
Binary file not shown.
141 changes: 74 additions & 67 deletions Source/System Explorer/NI-XNET Monitor System Explorer.lvlib

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file modified Source/System Explorer/Port.vi
Binary file not shown.
Binary file modified Source/System Explorer/PortChannel.vi
Binary file not shown.
Binary file added Source/System Explorer/Read Bus Load Settings.vi
Binary file not shown.
Binary file modified Source/System Explorer/Resync with ni-xnet channels.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Source/Utility/Copy .LLB to NI VeriStand dir.vi
Binary file not shown.
Binary file modified Source/Utility/GUID Generator.vi
Binary file not shown.
Binary file modified Source/Utility/LLB Pre-Build CHM Build.vi
Binary file not shown.
1 change: 0 additions & 1 deletion build.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,5 @@ install_destination = 'documents\National Instruments\NI VeriStand {veristand_ve
[[release.steps]]
name = 'Master Release'
type = 'githubRelease'
2017_release_branches = ["master",]
2018_release_branches = ["master",]
2019_release_branches = ["master",]

0 comments on commit d20ca37

Please sign in to comment.