Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Read CANoe Data

yes db++ editor used for editing and crating the dbc files.

i have attached a sample dbc quickly created. check all the parameters in the dbc file.

 

 

thanks and Regards,

Senthil

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

Thank you  🙂

 

But now I'm trying to run Dama's VI and I get still some error messages. How can I connect the dbc-file with my VI. I thought it is the activex-application-open-config part in Damas VI (Put the path of the dbc-file in the string).

 

And what should I put inside of the two other strings at the activex-busvb-getsignal. I thought it's (using your file) signalname=LV_CANOe_Test_Signal_1 and msgname=LV_CANoe_TestMessage

 

I added a screen of my settings in the VI. 🙂

 

 

Sorry, it is probably a stupid question but I'm new in using labview and especially new in using activex. 😞

 

Padderick

0 Kudos
Message 12 of 16
(4,201 Views)

signalname=LV_CANOe_Test_Signal_1 and 

msgname=LV_CANoe_TestMessage              these two are right.

 

enter config = CANoe config file path ie. something like"C:\..\..\*.cfg"

 

use the dbc file to setup the canoe config or add the dbc file in to the existing canoe cfg.

 

let me know if you have any other questions.

0 Kudos
Message 13 of 16
(4,195 Views)

Hey ksn1,

 

thanks for your help. 😄 I'm so happy. IT works 😄

 

The only thing is with that VI I can only read one databyte of the message. I tried to change the message length(bit) in the dbc file into 64bit (8*8bit), but if I do that the value gets to long and i can not read such big values. Is there an easy solution to read all databytes of one message?

 

 

0 Kudos
Message 14 of 16
(4,168 Views)

OK I found a solution for that problem. Smiley Very Happy

 

I'm using the property rawvalue of "ISignal2" and not the property value. That gives me an array with variant data and after using the function "variant to data" I get an numeric array with all databytes.

 

And again, thank you very much for your help, ksn1. 🙂

0 Kudos
Message 15 of 16
(4,127 Views)

Hey guys,

 

now I'm trying to load the dlc-length and the cycletime of a canoe-message into labview. Is there a way to get the data out of the message? (maybe calculate cycletime by using the busloadinformation of the channel?)

 

greetings Padderick

0 Kudos
Message 16 of 16
(4,115 Views)