12-13-2024 01:54 AM - edited 12-13-2024 01:56 AM
Hey, I want to have confirmation like can we read like this in LabVIEW from CAN,
(This from BUSSMASTER)
WE need to modify to get data like this or
we can get directly.
I am getting data like this.
(not in Hex)
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
12-13-2024 04:26 AM - edited 12-13-2024 05:26 AM
Update,
I am getting data like this.
how can I get it like this,
all reading at a time.
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.
12-13-2024 06:33 PM
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.
12-18-2024 03:10 AM
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
12-18-2024 04:29 AM
Thank you for sharing this information.
12-19-2024 02:42 AM
@Basavaraj093 wrote:
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
Share what you have tried so far and where you are stuck. Did ou read the blog? What do you not understand particulary?
12-19-2024 10:51 PM
Hi, I am attaching the Vi here
12-20-2024 12:52 AM - edited 12-20-2024 12:55 AM
Hi Basavaraj,
@Basavaraj093 wrote:
- I am reading the data (RAW).
- but I want filtered data.
- For particular data they are giving name and for that they are reading data (in bus master)
- I also want to read like that.
- For more details you can see this I am explained in my Previous Reply
Your VI could look so much more clean:
When you want to filter CAN signals:
Or you can use the XNet driver to convert the messages into signals as suggested before…
12-20-2024 04:51 AM
Thank you for your reply,
I am stuck at this database thing; I don't understand it I am new to it (CAN DATA BASE).
12-20-2024 05:36 AM
Hi Basavaraj,
@Basavaraj093 wrote:
I am stuck at this database thing; I don't understand it I am new to it (CAN DATA BASE).
Then you need to learn about it! There are resources like this…