New Eagle DBC CAN Networking Toolbox: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
 
(40 intermediate revisions by 6 users not shown)
Line 1: Line 1:
=New Eagle DBC CAN Networking Toolbox =
 
[[Image: Capture.JPG|right]]
[[Image: Capture.JPG|right]]
'''Version 30 is now avalible'''
 
==Overview==
==Overview==
New Eagle's Network Toolbox makes it easy to create CAN input and output blocks in
New Eagle's Network Toolbox makes it easy to create CAN input and output blocks in MotoHawk. Instead of manually writing code in MATLAB to handle CAN messaging, Network Toolbox enables you to have useful CAN blocks starting from an industry-standard *.dbc file to describe the CAN network. This saves development and debugging time and reduces complexity. With a free DBC file editor like the '''[http://www.kvaser.com/software/7330130980860/V3_1_879/kvaser_database_editor_setup.exe Kvaser Database Editor]''', you can also create your own custom *.dbc files.
MotoHawk. Instead of manually writing code in MATLAB to handle CAN messaging, Network
Toolbox enables you to have useful CAN blocks starting from an industry-standard .dbc file to
describe the CAN network. This saves development and debugging time and reduces
complexity. With the free DBC file editor like the [http://www.kvaser.com/index.php?option=com_php&Itemid=288&swprod=1cf9896f527dc55dc8a219a048c6c149&ean=0000000000000 Kvaser Database Editor], you can also create your own custom .dbc files.


:*DBC to CAN Networking
*DBC to CAN Networking
::*New Eagle's Network Toolbox makes it easy to create CAN input and output blocks in MotoHawk
:*New Eagle's Network Toolbox makes it easy to create CAN input and output blocks in MotoHawk
::*Network Toolbox enables you to have useful CAN blocks starting from an industry-standard .dbc file to describe the CAN network.
:*Network Toolbox enables you to have useful CAN blocks starting from an industry-standard *.dbc file to describe the CAN network.
::*Saves development and debugging time and reduces complexity.
:*Saves development and debugging time and reduces complexity
::*Create Custom .dbc files
:*Create custom *.dbc files
 
[[File:MHNwTver.png]]


==Downloads==
==Downloads==
Line 20: Line 18:


!scope="col"| User Manual
!scope="col"| User Manual
!scope="col"| Upgrade Guide
!scope="col"| Update Guide


|-
|-
|style = "height:180px; width:180px;"|
|style = "height:180px; width:180px;"|
[[Image:NETUserManImage.PNG|150px|link=http://www.neweagle.net/NewEagleSoftware/NetworkToolbox_UserGuide.pdf]]
[[Image:NETUserManImage.PNG|150px|link=New_Eagle_DBC_CAN_Networking_Toolbox_Downloads]]
|style = "height:180px; width:180px;"|
|style = "height:180px; width:180px;"|
[[Image:UpdatePictureNWTB.png|150px|link=http://www.neweagle.net/NewEagleSoftware/Upgrading%20Network%20Toolbox.pdf]]
[[Image:UpdatePictureNWTB.png|150px|link=New_Eagle_DBC_CAN_Networking_Toolbox_Downloads]]


|}
|}


==Support==
==Support==


===Quick Start===
===Licensing===
To get started, check out the webinar linked below:
 
'''[http://neweagle.net/september-2014-webinar-network-toolbox-and-can-development/ Easier MotoHawk CAN Development Webinar]'''
 
===Licensing 2014b to Present===


As of Network Toolbox 2014b, Network Toolbox now uses the New Eagle License viewer.  See  '''[[Raptor:Tools|New Eagle License Viewer]]''' for more details.
As of Network Toolbox 2014b, Network Toolbox uses the standard [[Raptor_Licensing | New Eagle License Viewer]].  
 
===Licensing v0.0.30 ===
*'''Question''': I purchased a Network Toolbox dongle license but when trying to use it I get a licensing error message (such as the one below).
**[[File:nt_license_error.png]]
**'''Answer''': Use New Eagle License Viewer to verify your dongle has a valid Network Toolbox license. Contact New Eagle support if your dongle does not have a valid Network Toolbox license.
 
===Licensing v0.0.29 and prior ===
*'''Question''': I purchased a Network Toolbox license but when trying to use it I get a message (such as the one below) directing me to contact New Eagle Support.
**[[File:Ntlicense.png]]
**'''Answer''': Prior to v0.0.30 a new license file must be created for every computer this software was used on. v0.0.30 and beyond uses dongle-based licensing. Please '''[mailto:sales@neweagle.net contact sales]''' to upgrade to v0.0.30.


===Editing DBC files===
===Editing DBC files===
To edit and create dbc files you could use the Database Editor which is available for a download in the required files download section.
To edit and create *.dbc files, you could use the Database Editor which is available for download in the '''[[Required Files]]''' download section.


==FAQ's==
== Frequently Asked Questions (FAQ) ==


===Multiplexing===
===Multiplexing===
[[File:Multiplexing.png|right]]
[[File:Multiplexing.png|right]]
*'''Question''': How do I select a signal from a multiplexed CAN defintion? <br>
Q: How do I select a signal from a multiplexed CAN definition?
**'''Answer''': The “Message Mode” parameter in the Network Toolbox will allow you to demux a single message from a multiplexed CAN message definition.
    A: The “Message Mode” parameter in the Network Toolbox will allow you to demux a single message from a multiplexed CAN message definition.


*'''Question''': Multiplexing doesn't appear to be working properly, how can I verify my implementation? <br>
Q: Multiplexing doesn't appear to be working properly, how can I verify my implementation? <br>
**'''Answer''': You should see the Network Toolbox create a block similar to the one on the right. For example, this block has a 3-bit Message Mode of value 5, starting at bit 49 Little Endian, (highlighted in yellow). You should see a similar payload mask and value corresponding to your multiplexed message based on the bit location and mode of the multiplexing. If the multiplexing is not creating a mask as you expect, ensure the dbc file is formatted correctly.
    A: You should see the Network Toolbox create a block similar to the one on the right. For example, this block has a 3-bit Message Mode of value 5, starting at bit 49 Little Endian, (highlighted in yellow). You should see a similar payload mask and value corresponding to your multiplexed message based on the bit location and mode of the multiplexing. If the multiplexing is not creating a mask as you expect, ensure the *.dbc file is formatted correctly.


===Error Codes===
===Error Codes===
*'''Question''': Is there a method to detect J1939 error codes?
Q: Is there a method to detect J1939 error codes?
**'''Answer''': For J1939 received messages using the NE Network Toolbox, check the Raw output checkbox. This will additionally output the raw (unscaled, no offset) value, so that, in the application, it can be checked if the engineering value is invalid or unavailable per J1939. Note that this checking logic needs to be done in the application, which takes some effort; the Network Toolbox is capable of outputting the raw value to aid in this effort.
    A: For J1939 received messages using the NE Network Toolbox, check the Raw output checkbox. This will additionally output the raw (unscaled, no offset) value, so that, in the application, it can be checked if the engineering value is invalid or unavailable per J1939. Note that this checking logic needs to be done in the application, which takes some effort; the Network Toolbox is capable of outputting the raw value to aid in this effort.
 
===Block Error===
Q: Why does my block give me a CBIOS4NET64 error when I try to open it?
    A: A fix was issued in NewEagle_Network_Toolbox_2016b_0.0.1_SP2 to address this issue. To resolve, we recommend updating your Network Toolbox or unplugging the MotoHawk dongle when opening the block. This is issue was observed with the new (smaller) MotoHawk dongles on select machines.
 
===Licensing Questions===
Q: I purchased a Network Toolbox license but when trying to use it I get a message (such as the one below) directing me to contact New Eagle Support.<br>[[File:Ntlicense.png]]
    A: This message indicates that an obsolete version of Network Toolbox is installed on your computer and/or MATLAB path. Please uninstall and remove from your MATLAB path. Current versions of the network toolbox integrate with the MATLAB startup and don't require manually adding the library to your path. New Eagle recommends that you use the latest version of Network Toolbox to ensure the best compatibility, feature set and stability. Keeping your software maintenance up to date is the best way to assure that you have access to the latest releases and support.


===Release Notes===
A license purchase includes a perpetual license for the current release and the following release (e.g., 2017a/2017b), along with one year of software maintenance support. Access to subsequent releases is made available with active software maintenance. Support is provided for customers with active software maintenance for software up to two years old.
====V0.0.30====
*Moved to dongle licensing for software maintenance. License files are no longer used.
*DBC Parsing: Added float32 support
====V0.0.29====
*The license file may now be placed in the C:\Program Files (x86)\NewEagle now in addition to the library folder. MAC address is no longer used. For backward compatibility, it should accept your existing license file.
*Added new locations (C:\Program Files\NewEagle,  C:\Program Files (x86)\NewEagle) to search for license file.
*Changed license gen ID source to CPU/BIOS/Motherboard rather than MAC address.
*Fixed issue in setting payload mask with little endian signals, bits > 16 were not being set appropriately.


====V0.0.28====
==Webstore==
*Added warning Messagebox when signal is outside of payload size.
'''[https://store.neweagle.net/shop/products/software/motohawk/motohawk-motohawk/motohawk-dbc-to-can-tool-box/ Purchase]'''
====V0.0.27====
*Added 'Use ID port' option. This adds an input to the TX block to set the CAN id.

Latest revision as of 18:45, 9 March 2023

Overview

New Eagle's Network Toolbox makes it easy to create CAN input and output blocks in MotoHawk. Instead of manually writing code in MATLAB to handle CAN messaging, Network Toolbox enables you to have useful CAN blocks starting from an industry-standard *.dbc file to describe the CAN network. This saves development and debugging time and reduces complexity. With a free DBC file editor like the Kvaser Database Editor, you can also create your own custom *.dbc files.

  • DBC to CAN Networking
  • New Eagle's Network Toolbox makes it easy to create CAN input and output blocks in MotoHawk
  • Network Toolbox enables you to have useful CAN blocks starting from an industry-standard *.dbc file to describe the CAN network.
  • Saves development and debugging time and reduces complexity
  • Create custom *.dbc files

Downloads

User Manual Update Guide

Support

Licensing

As of Network Toolbox 2014b, Network Toolbox uses the standard New Eagle License Viewer.

Editing DBC files

To edit and create *.dbc files, you could use the Database Editor which is available for download in the Required Files download section.

Frequently Asked Questions (FAQ)

Multiplexing

Q: How do I select a signal from a multiplexed CAN definition?

    A: The “Message Mode” parameter in the Network Toolbox will allow you to demux a single message from a multiplexed CAN message definition.

Q: Multiplexing doesn't appear to be working properly, how can I verify my implementation?

    A: You should see the Network Toolbox create a block similar to the one on the right. For example, this block has a 3-bit Message Mode of value 5, starting at bit 49 Little Endian, (highlighted in yellow). You should see a similar payload mask and value corresponding to your multiplexed message based on the bit location and mode of the multiplexing. If the multiplexing is not creating a mask as you expect, ensure the *.dbc file is formatted correctly.

Error Codes

Q: Is there a method to detect J1939 error codes?

    A: For J1939 received messages using the NE Network Toolbox, check the Raw output checkbox. This will additionally output the raw (unscaled, no offset) value, so that, in the application, it can be checked if the engineering value is invalid or unavailable per J1939. Note that this checking logic needs to be done in the application, which takes some effort; the Network Toolbox is capable of outputting the raw value to aid in this effort.

Block Error

Q: Why does my block give me a CBIOS4NET64 error when I try to open it?

    A: A fix was issued in NewEagle_Network_Toolbox_2016b_0.0.1_SP2 to address this issue. To resolve, we recommend updating your Network Toolbox or unplugging the MotoHawk dongle when opening the block. This is issue was observed with the new (smaller) MotoHawk dongles on select machines.

Licensing Questions

Q: I purchased a Network Toolbox license but when trying to use it I get a message (such as the one below) directing me to contact New Eagle Support.

    A: This message indicates that an obsolete version of Network Toolbox is installed on your computer and/or MATLAB path. Please uninstall and remove from your MATLAB path. Current versions of the network toolbox integrate with the MATLAB startup and don't require manually adding the library to your path. New Eagle recommends that you use the latest version of Network Toolbox to ensure the best compatibility, feature set and stability. Keeping your software maintenance up to date is the best way to assure that you have access to the latest releases and support.

A license purchase includes a perpetual license for the current release and the following release (e.g., 2017a/2017b), along with one year of software maintenance support. Access to subsequent releases is made available with active software maintenance. Support is provided for customers with active software maintenance for software up to two years old.

Webstore

Purchase