Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Read CANoe Data

Hello,
 
i have some problems with CANoe. I just want to read the Data (see on the picture) in Labview but I don´t no how.
Can someone help me?
0 Kudos
Message 1 of 16
(11,909 Views)

Vector offers a LV API for their boards. You should contact them for help.

DirkW

0 Kudos
Message 2 of 16
(11,901 Views)

Thank you for your answer.

But i have contact Vector and they can´t help me! I hope that someone can give me the answer.

 

 

0 Kudos
Message 3 of 16
(11,880 Views)

Hi,

Try using ActiveX functions in LabVIEW.

Let me know if you have questions.

 

0 Kudos
Message 4 of 16
(11,845 Views)

(Hi,

Try using ActiveX functions in LabVIEW.

Let me know if you have questions.)

 

I have build a Vi with ActiveX and it works.

Message 5 of 16
(11,838 Views)

Hi,

 

first of all, sorry that I'm answering such an old thread. But I'm looking for a solution for nearly the same problem. I need to read the databytes out of a message (message send from a device and connected over a cancardxl with canoe) . Dama's VI is a little help but in my case I don't have a name in my message (as you can see in: bitmap - canoe screen). And I think maybe that's the problem why I can not read the data of my message.

 

Can i maybe search a message not by searching for the name but searching for the message di?

 

I attached my VI. Maybe you can help me to find a solution. 🙂

 

greetings, Padderick

Download All
0 Kudos
Message 6 of 16
(10,618 Views)

hi,

 

First try to run the CANoe with proper settings. Go to hardware configuration of CANoe menu and see whether the CAN channels are configured properly, especially the Baud rate.The system window shows that baud rate is configured to 500000 baud..Are you sure about this value?

 

Also check whether your device is sending the message, to see the names there you should have *.dbc file.

 

Try getting the data in the CANoe tool first. Once the data is traced properly in CANoe tool, then there should not be a problem with LabVIEW.

 

Do let me know if you have questions in CANoe.

 

Also send the vi in LV 2009 version , i dont have 2010.

 

Thanks and Regards,

Senthil

 

 

0 Kudos
Message 7 of 16
(10,608 Views)

Hey,

 

thank you for your prompt reply 🙂

 

I checked the baudrate and its set to 500kBaud.

I think canoe is working well. If I send a message with the device I can see exactly this message in canoe. The message has also the correct id, dlc length and datavalues. And if I stop sending this message and refresh the measurement screen in canoe I can not see the message any longer. So I think it is working normal.

 

I think the device send messages without names. But unfortunately I can not change the hardware. Its an embedded system of the company i work for. 😞

 

I added the VI again in LV2009

0 Kudos
Message 8 of 16
(10,601 Views)

hi,

 

Always the device will send the messages only with message ID and not the message name, the databses file (*.dbc) in CANoe have the message names for the message ids.

 

the vi named "Feldstärke Vector.vi" in previous reply by Dama, that VI works for me. I am able to get the data in LV from CANoe.Take the same vi and try running it.

 

Also in CANoe using dbc editor create a dbc fileor take any existing dbc file and add the ID and message details you want and add the same in to the CANoe configuration and then give the meesage name you want.

let me know if you have anyother questions.

 

0 Kudos
Message 9 of 16
(10,592 Views)

ohh I didin't know anything about a dbc editor. So to use Damas VI i need to create a dbc file for my needs? I saw i have a candb++ programm already installed on my pc. Is this the programm to create dbc files?

 

Can someone may send me a example of a dbc file which i can use for Damas VI? Would be really nice 😉

 

0 Kudos
Message 10 of 16
(10,587 Views)