ni / niveristand-communications-bus-template

Template custom device for using communications buses in VeriStand
http://www.ni.com
MIT License
0 stars 3 forks source link

Set and Get ECU for Frame page, and add Channel default values. #52

Closed douglasnorman closed 3 years ago

douglasnorman commented 3 years ago

TODO: Check the above box with an 'x' indicating you've read and followed CONTRIBUTING.md.

What does this Pull Request accomplish?

  1. It adds Set and Get for to show the ECU on the Frame page.
  2. It adds the default value for channels.

Why should this Pull Request be merged?

This adds missing items we will want for database refresh.

What testing has been done?

I have built and tested on my dev VM.

rtzoeller commented 3 years ago

image

niveristand-diff-bot commented 3 years ago

Bleep bloop!

LabVIEW Diff Robot here with some diffs served up hot for your pull request.

Notice something funny? Help fix me on my GitHub repo.

Communication Bus Template Scripting.lvlib--Constants.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/11%3A58%3A46/Communication%20Bus%20Template%20Scripting.lvlib--Constants.vi.png)
Communication Bus Template Scripting.lvlib--Get Frame ECU.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/11%3A58%3A46/Communication%20Bus%20Template%20Scripting.lvlib--Get%20Frame%20ECU.vi.png)
Communication Bus Template Scripting.lvlib--Get Frame Id.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/11%3A58%3A46/Communication%20Bus%20Template%20Scripting.lvlib--Get%20Frame%20Id.vi.png)
Communication Bus Template Scripting.lvlib--Set Frame ECU.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/11%3A58%3A46/Communication%20Bus%20Template%20Scripting.lvlib--Set%20Frame%20ECU.vi.png)
Communication Bus Template Scripting.lvlib--Set Frame Id.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/11%3A58%3A46/Communication%20Bus%20Template%20Scripting.lvlib--Set%20Frame%20Id.vi.png)
Communication Bus Template System Explorer.lvlib--Implementation.lvlib--Channel.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/11%3A58%3A46/Communication%20Bus%20Template%20System%20Explorer.lvlib--Implementation.lvlib--Channel.vi.png)
Communication Bus Template System Explorer.lvlib--Implementation.lvlib--Frame.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/11%3A58%3A46/Communication%20Bus%20Template%20System%20Explorer.lvlib--Implementation.lvlib--Frame.vi.png)
Communication Bus Template System Explorer.lvlib--Implementation.lvlib--Get ECU Frame Indices.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/11%3A58%3A46/Communication%20Bus%20Template%20System%20Explorer.lvlib--Implementation.lvlib--Get%20ECU%20Frame%20Indices.vi.png)
Communication Bus Template System Explorer.lvlib--Implementation.lvlib--Import Frames RTM.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/11%3A58%3A46/Communication%20Bus%20Template%20System%20Explorer.lvlib--Implementation.lvlib--Import%20Frames%20RTM.vi.png)
Communication Bus Template System Explorer.lvlib--Implementation.lvlib--Read Database.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/11%3A58%3A46/Communication%20Bus%20Template%20System%20Explorer.lvlib--Implementation.lvlib--Read%20Database.vi.png)
Communication Bus Template System Explorer.lvlib--Implementation.lvlib--Read Frame Data.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/11%3A58%3A46/Communication%20Bus%20Template%20System%20Explorer.lvlib--Implementation.lvlib--Read%20Frame%20Data.vi.png)
douglasnorman commented 3 years ago

I fixed Get Frame ID.vi and Set Frame ID.vi. I was fixing the type mismatch, but didn't go far enough upstream.

Good idea on Get ECU Frame Indices.vi - the code is now much cleaner.

niveristand-diff-bot commented 3 years ago

Bleep bloop!

LabVIEW Diff Robot here with some diffs served up hot for your pull request.

Notice something funny? Help fix me on my GitHub repo.

Communication Bus Template Scripting.lvlib--Constants.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/13%3A28%3A33/Communication%20Bus%20Template%20Scripting.lvlib--Constants.vi.png)
Communication Bus Template Scripting.lvlib--Get Frame ECU.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/13%3A28%3A33/Communication%20Bus%20Template%20Scripting.lvlib--Get%20Frame%20ECU.vi.png)
Communication Bus Template Scripting.lvlib--Get Frame Id.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/13%3A28%3A33/Communication%20Bus%20Template%20Scripting.lvlib--Get%20Frame%20Id.vi.png)
Communication Bus Template Scripting.lvlib--Set Frame ECU.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/13%3A28%3A33/Communication%20Bus%20Template%20Scripting.lvlib--Set%20Frame%20ECU.vi.png)
Communication Bus Template Scripting.lvlib--Set Frame Id.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/13%3A28%3A33/Communication%20Bus%20Template%20Scripting.lvlib--Set%20Frame%20Id.vi.png)
Communication Bus Template System Explorer.lvlib--Implementation.lvlib--Channel.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/13%3A28%3A33/Communication%20Bus%20Template%20System%20Explorer.lvlib--Implementation.lvlib--Channel.vi.png)
Communication Bus Template System Explorer.lvlib--Implementation.lvlib--Frame.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/13%3A28%3A33/Communication%20Bus%20Template%20System%20Explorer.lvlib--Implementation.lvlib--Frame.vi.png)
Communication Bus Template System Explorer.lvlib--Implementation.lvlib--Get ECU Frame Indices.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/13%3A28%3A33/Communication%20Bus%20Template%20System%20Explorer.lvlib--Implementation.lvlib--Get%20ECU%20Frame%20Indices.vi.png)
Communication Bus Template System Explorer.lvlib--Implementation.lvlib--Import Frames RTM.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/13%3A28%3A33/Communication%20Bus%20Template%20System%20Explorer.lvlib--Implementation.lvlib--Import%20Frames%20RTM.vi.png)
Communication Bus Template System Explorer.lvlib--Implementation.lvlib--Read Database.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/13%3A28%3A33/Communication%20Bus%20Template%20System%20Explorer.lvlib--Implementation.lvlib--Read%20Database.vi.png)
Communication Bus Template System Explorer.lvlib--Implementation.lvlib--Read Frame Data.vi.png ![capture](https://raw.githubusercontent.com/niveristand-diff-bot/diff-images/master/NI/niveristand-communications-bus-template/PR-52/2020-10-21/13%3A28%3A33/Communication%20Bus%20Template%20System%20Explorer.lvlib--Implementation.lvlib--Read%20Frame%20Data.vi.png)
niphilj commented 3 years ago
douglasnorman commented 3 years ago

Made Phil's suggested change to Get ECU Frame Indices.vi instead of Read Frame Data.vi :-)