LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data read using CAN (PCAN), XNET

Solved!
Go to solution

Hey, I want to have confirmation like can we read like this in LabVIEW from CAN,

 

(This from BUSSMASTER)

Basavaraj093_0-1734074331893.png

 

 

 

 

WE need to modify to get data like this or 

 

we can get directly.

 

I am getting data like this.

(not in Hex) 

 

Basavaraj093_2-1734074714306.png

I have attached a Vi.

 

I am also not getting message type in string. It is giving different in Table.

 

 

I just modified (not all) Hooovahh's Frame conversion to get string

 

 

 

 

 

 

 

 

0 Kudos
Message 21 of 25
(105 Views)

Update,

 

I am getting data like this.

 

Basavaraj093_0-1734085376518.png

 

 

 

how can I get it like this,

 

all reading at a time.

Basavaraj093_1-1734085503753.png

 

The Message Column I need this column.

 

 

AND THIS DATA I WANT:

 

(I think in BUSSMASTER they use some conversion File or something I am not sure).

AFTER conversion we get this value, I want this instead of those pic 1.

 

and it should read all at a time it is reading one by one.

Basavaraj093_1-1734088929816.png

 

 

 

 

 

 

 

0 Kudos
Message 22 of 25
(85 Views)

Create a .dbc file with the XNET darabase editor. There you define your frames and signals. See XNET examples and hoovahs blog how to convert your CAN data into something meaningful.

Actor Framework
Message 23 of 25
(66 Views)

Sorry guys I don't understand anything.

 

I got some .log files from BUSMASTER and .dbf file.

 

Can anyone give me example code or something so I can communicate with PCAN USB.

 

Thank you

 

 

0 Kudos
Message 24 of 25
(27 Views)

Thank you for sharing this information.

0 Kudos
Message 25 of 25
(19 Views)