LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data read using CAN (PCAN), XNET

Solved!
Go to solution

There are many ways. You can also use the Call Library Node to directly call into the PCAN driver. No its not easy but aside from your time you spend on this it is free. Or you buy the earlier mentioned Driver. It costs something but is hassle free for you.

Rolf Kalbermatter
My Blog
Message 11 of 23
(202 Views)

ok thank you know where can see the tutorial or anything which helps me.

 

because I never work with it so,

0 Kudos
Message 12 of 23
(198 Views)

How about using Ni CAN,

 

I installed this Ni CAN from ni website.

 

when i connect PCAN to my pc it will not detect in Ni MAX device and interface.

 

what should i do?

0 Kudos
Message 13 of 23
(183 Views)

Hi Basavaraj,

 


@Basavaraj093 wrote:

How about using Ni CAN,


It's the same answer as for NI-XNET: NI hardware drivers will only work for NI hardware!

(NI-CAN is the old-style CAN driver, usable only for old NI hardware CAN interfaces, and not supported anymore on modern LabVIEW versions.)

 


@Basavaraj093 wrote:

what should i do?


Use the driver supplied by Peak and leanr how to use it…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 23
(177 Views)

@Basavaraj093 wrote:

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?


Did you even *look* at what I provided? There is an "Rx Example.vi" in <..\PEAK CAN\Examples\> folder that sounds like a very good starting point. All you need to do is decode the CAN message into the values you want.

Frozen_0-1733844325686.png

 

 

 

---------------------------------------------
Certified LabVIEW Developer (CLD)
Message 15 of 23
(159 Views)

<LV Wrapper PCANBasic (LV2016).zip>

 

you are talking about this,

if yes then it is not containing any example folder.

 

Basavaraj093_0-1733888822431.png

 

0 Kudos
Message 16 of 23
(142 Views)
Solution
Accepted by topic author Basavaraj093

Opps. Sorry about that! 🤥

See attached PEAK CAN LV wrapper *with* examples this time. 🙃

 

 

Since there is no readme in the zip, here are some notes:

- put the PCANBasic.dll (x64 or x86) into the top folder so LV can find it. (download the PCAN basic SW package)

- Requires the PCAN drivers as well. (IE download and install the drivers)

- the "PCANBasic.h" is not required for LV but it helps greatly in understanding the parameters to pass.

 

Drivers:  https://www.peak-system.com/Drivers.523.0.html?&L=1

SW:   https://www.peak-system.com/Development.526.0.html?&L=1

 

Good luck

 

---------------------------------------------
Certified LabVIEW Developer (CLD)
Message 17 of 23
(121 Views)

It would be nice if you save it to lower version.

 

I am using LabVIEW 2018.

 

Thanks in advance 😊

 

0 Kudos
Message 18 of 23
(105 Views)

@Basavaraj093 wrote:

It would be nice if you save it to lower version.

 

I am using LabVIEW 2018.

 

Thanks in advance 😊

 


Here you go

 

---------------------------------------------
Certified LabVIEW Developer (CLD)
Message 19 of 23
(91 Views)

Thank you

0 Kudos
Message 20 of 23
(61 Views)