LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is LabView the right tool to visualize Automotive CAN messages?

Hello,

i'm absolutely new to LabVIEW and before digging into it, i'd like to know if it is the right tool for me.

I want to analyze CAN messages from automobiles, especially unknown messages to get their meaning. So visualizing and replaying data in realtime using graphs, gauges and bit-signals would be a great help.

 

The CAN messages comes in LAWICEL protocol, just simple TSV ASCII files.

 

Maybe there are some examples i should choose?

Any help would be greatly appreciated

 

can

0 Kudos
Message 1 of 3
(2,619 Views)

LabVIEW is comparable to other programming languages in its possiblities. So, yes, you can do this in LV.

Maybe even easier than in other programming languages as you have many different types of indicators which already meet your expectations of the user interface.

 

I am not familiar with Lawicel, so i am not aware of specifics in this type.

There is an Automative Diagnostic Command Set Toolkit available, however i am not sure if this is compatible with that specific type of protocol.

If the toolkit doesn't help you, you still can implement an protocol interpreter on your own.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(2,556 Views)

CAN has been in NI's radar for several years, so you'll find plenty of hardware and an evolution of sotware tools and resources out there. Couple this with the application development goodies found in LabVIEW, you can probably build a nice solution to your needs.

 

If you're needing to convert raw CAN frames to various signals, you'll want to be familiar with NI's latest offering, NI-XNET, which you can download for free with or without NI CAN hardware.

 

http://www.ni.com/white-paper/9727/en/

http://sine.ni.com/nips/cds/view/p/lang/en/nid/207598

http://sine.ni.com/np/app/main/p/ap/icomm/lang/en/pg/1/sn/n17:icomm,n21:17/fmid/2834/

 

What's nice about NI-XNET is the ability to visually construct frames and their signals in a standalone editor and saved into a database, which is then employed by your LabVIEW code:

 

NI-XNET DB Editor Example.png

 

You can also find further discussion on CAN frame to signal conversion techniques here:

 

https://forums.ni.com/t5/Automotive-and-Embedded-Networks/CAN-Frame-Signal-Conversion-With-XNet/td-p...

https://decibel.ni.com/content/docs/DOC-39793

 

If you need to read CAN data using hardware, use XNET or become familiar with the legacy NI-CAN software drivers:

 

http://www.ni.com/product-documentation/4294/en/

 

 

Feel free. Contact me for anything more,
    Pang

You too can be LabVIEW Awesome!
Message 3 of 3
(2,527 Views)