LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read a virtual CAN-Channel created by Kvaser CanKing in LabVIEW

Solved!
Go to solution

Hello everyone, 

 

I guess the problem I'm about to post here is pretty unusual . Because I didn't find anything close to the subject on the forum. 

 

So here is the thing: I have a program called catoolRT 19.9 that calculates in a very precized way some data that I need. In discussion with the company that made this software I have been informed that a "direct-communication" between catoolRT 19.9 and LabVIEW  isn't possible. However, it's possible to send the data generated by catoolRT 19.9 to another Software called Kvaser CanKing

 

Kvaser CanKing is able to generate a virtual CAN-Channel which maybe could be called by LabVIEW to get the data generated by catoolRT 19.9

 

So my question is: how to read this virtual CAN-Channel in LabVIEW? 

 

 

I really apreciate your help! 

 

 

best regards 

Ezzow 

0 Kudos
Message 1 of 5
(1,159 Views)
Solution
Accepted by topic author Ezzow

I think I'm now able to get my virtual can channel data using the KvaserExample.vi 

 

Now I would like to convert the CAN-Data that I have using a specific DBC-file. 

 

is there any VI's like the one in the XNET palet that convert CAN-Data after attaching a DBC-file ? 

 

 

best regards

Ezzow

0 Kudos
Message 2 of 5
(1,136 Views)
Solution
Accepted by topic author Ezzow

In case someone is looking for an answer: http://hooovahh.blogspot.com/2017/05/can-part-5-signal-api.html 

 

Ezzow_0-1666957474260.png

 

Just make sure to enter the right signal names in here: 

 

 

Ezzow_0-1666957653662.png

 

 

Many thanks @Hooovahh for the amazing blog! 

 

0 Kudos
Message 3 of 5
(1,087 Views)

see attached code to my solution. All the libraries you'll need are linked in Hooovahh's blog: 

 

http://hooovahh.blogspot.com/2017/03/can-blog-introduction-and-downloads.html

0 Kudos
Message 5 of 5
(992 Views)