10-21-2010 08:38 AM
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
10-21-2010 09:33 AM
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
10-21-2010 01:43 PM
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.
10-25-2010 02:48 AM
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?
10-26-2010 03:14 AM
OK I found a solution for that problem. ![]()
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. 🙂
10-27-2010 03:48 AM
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