LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data read using CAN (PCAN), XNET

Solved!
Go to solution

Hi all,

 

I want to read the data using CAN cable for 5 min then after 5 min it should stop and log it to the excel file.

 

I am new to this CAN I don't know what to select and all.

 

 

want to read like this <Value.png>

 

using:

LabVIEW 18

Peak CAN to USB Cable

Ni-XNET Driver

 

I have attached all the documents.

 

0 Kudos
Message 1 of 22
(412 Views)

Hi Basavaraj,

 


@Basavaraj093 wrote:

using:

Peak CAN to USB Cable

Ni-XNET Driver


Simple answer: you cannot use the NI-XNet driver for a PeakCAN interface. XNet only supports hardware from NI…

 

Suggestion: use suitable drivers for your PeakCAN interface! There are lots of threads in this forum about PeakCAN…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 22
(394 Views)

Thank you for your reply,

 

what you said is true. 

 

I am trying to search it but couldn't find any drivers (LabVIEW).

 

Please share you have any information about it.

 

Thanks in advance.

 

 

0 Kudos
Message 3 of 22
(384 Views)

Hi Basvaraj,

 

a simple search for "peak can labview driver" gives this result

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 22
(378 Views)

 


Simple answer: you cannot use the NI-XNet driver for a PeakCAN interface. XNet only supports hardware from NI…

 

Yes and No. Yes, XNET hardware driver won't work, but you can use XNET library with PCAN to manage your CAN frames and signals. See 

http://hooovahh.blogspot.com/2017/03/can-blog-introduction-and-downloads.html?m=1 for this.

 

By using XNET after PCAN's read your code will be more reusable.

Actor Framework
Message 5 of 22
(372 Views)

I have searched it already, but it is not free.

 

is there any driver which is free to use.

 

 

0 Kudos
Message 6 of 22
(364 Views)

PCAN basic is free.

Also see this post about a .net version I created.

 

Good luck!

---------------------------------------------
Certified LabVIEW Developer (CLD)
0 Kudos
Message 7 of 22
(339 Views)

Yes, it is free but

 

how to use it in LabVIEW.

 

 

Basavaraj093_0-1733811140817.png

 

0 Kudos
Message 8 of 22
(329 Views)

You need to learn usage of .NET in LV then. Refer to https://blog.dmitriev.de/labview/net/netframeworkcorestandard/

for valueable introduction into this topic.

Actor Framework
0 Kudos
Message 9 of 22
(316 Views)

Without it we can't receive CAN data?

 

I want to just Read\Receive whatever coming from the CAN cable.

 

is there any other method?

0 Kudos
Message 10 of 22
(306 Views)