Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Going to Labview USB-8502 from Canalyzer

Solved!
Go to solution

Hi Hooovah,

I currently have the evaluation version of Labview 2017. I also have the Vector VN1610 USB CAN dongle. I installed all of your packages, I also installed the Vector CAN driver for Labview and the Vector XL library. However, when I try to load your Vector example, the VI is broken. I am not sure what exactly needs corrected. It is telling me that the Vector XL library driver is not executable. Any idea why this may be? Attached a photo.

 

Thanks,

Ryan

 

 

0 Kudos
Message 11 of 25
(2,537 Views)

You're using LabVIEW 64 bit, this only works with 32 bit since the Vector DLL provided is 32 bit only.  To be fair I could make the packages only install in 32 bit but I forgot to check that box when building the package.

0 Kudos
Message 12 of 25
(2,529 Views)

The DBC file can be saved into an A2L file.  Using the National Instruments ECU toolkit with the A2L file will allow for simple straight forward CAN communication.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 13 of 25
(2,521 Views)

wrote:

The DBC file can be saved into an A2L file.  Using the National Instruments ECU toolkit with the A2L file will allow for simple straight forward CAN communication.


Sorry but you are mistaken.  A DBC and an A2L share some characteristics but are two completely different file formats, and beyond that contain different information.  One cannot be converted to another.

 

A DBC (as discussed in part 5 of my blog)  is a file that basically defines how to get from a stream of bytes, to signals that are in engineering units, things like Volts, or Degrees C.  This is basically a decoder for the data that in most cases is sent periodically (but can be event driven).  For example if data is seen where the ID is 0x5 then the first byte needs to be multiplied by 0.1 and now it is in Degrees C.  This is the kind of information in a DBC.

 

An A2L file is used for diagnostic communication.  Very event driven communication, where all data sent will be on one ID and all data received will be on another.  It has provisions for things like how to read and write parameters, characteristics and variables internal to the ECU.  Things that if sent periodically would flood the bus with data.  Imagine being able to adjust the timing of engine firing order for example.

 

Here is a handy diagram from vector.

 

If you do have an A2L then you can use NI's ECU Measurement and Calibration Toolkit to talk via the XCP/CCP protocol.  Otherwise a DBC can be used in XNet.

0 Kudos
Message 14 of 25
(2,519 Views)

Ahhh, Thank you. That did it!

Everytime I install a program that is 64 bit, I regret it. I reinstalled the 32 bit version and it worked great. Thanks again!

0 Kudos
Message 15 of 25
(2,512 Views)

@Korpz wrote:

Ahhh, Thank you. That did it!

Everytime I install a program that is 64 bit, I regret it. I reinstalled the 32 bit version and it worked great. Thanks again!


This is definitely a major flaw in LabVIEW.  In all other software packages I can think of, if a 64 bit and 32 bit versions are offered, and your system is 64 bit, why would you ever choose the 32 bit?  Downloading a a virtual machine software?  Get 64 bit.  Downloading VLC?  64 bit.  7-Zip?  Office Suite? etc.  When it comes to LabVIEW not all toolkits are 64 bit, and some will never be due to dependencies.  Then there is the complication with DLLs as you've found.  Just another reason pure G is prefered when possible I guess.

 

EDIT:  Oh and apparently it maybe possible to convert from a DBC to an A2L using some Vector software, but only if the ECU and diagnostic information needed for XCP is embedded in the DBC.  This depends on where the DBC originates from, and what content is inside it.

0 Kudos
Message 16 of 25
(2,499 Views)

I REALLY want to try the USB-8502 device with Labview 2017.  I know it will work but I need to show it internally. The investment is Labview Dev. 2017 plus 2-3 USB-8502 devices to start which isn't cheap. I currently have a 45 day trail on 2017 but I am down to about 25 days now.

 

I filled out the form on NI to get in contact with an engineer about 3 weeks ago. Long story short, I received a prompt call back from a Sales Engineer and he asked me many questions. He told me I would be contacted soon. I was suppose to get a call or email from my regional representative. After many emails back and forth of a promise of a call from this rep, I still have yet to receive it. In fact, now the sales engineer that originaly called me won't even return my emails.

 

All I was asking was the simple question....can I get a loaner USB-8502 for about a week or rent one? That is it.....I wasn't asking for anything for free. Just give me an answer.

 

Any advice how to handle this?

 

Thanks

0 Kudos
Message 17 of 25
(2,436 Views)

Not sure where you are in the world, but I'm fortunate enough to have an NI office relatively close to me.  On several occasions I've called them up and ask about a loner and they are very accommodating assuming they actually have the hardware on hand.  There were a few times where we had the wrong cable and were able to borrow the right one until the correct one could be purchased.  There's also been times when we wanted to prototype with some hardware first and they helped us out.

0 Kudos
Message 18 of 25
(2,432 Views)

I am in Pittsburgh, PA. 

 

I am probably going to see if I can locate an office directly as I am getting very little support.

0 Kudos
Message 19 of 25
(2,428 Views)

I will see what I can do on my end as well.

Jeff L
National Instruments
0 Kudos
Message 20 of 25
(2,426 Views)