02-25-2015 10:48 AM
Hello,
I intend to communicate Labview with a motor controller through CAN network by using a PCAN-USB adapter from Peak System. I wanted to know if NI-CAN is able to send and receive commands through devices that are not from National Instrument (in this case it will be the PCAN-USB adapter from Peak System). Can anyone that knows anything on this matter help me out please?
Solved! Go to Solution.
02-25-2015 11:09 AM - edited 02-25-2015 11:10 AM
We have used PCAN-USB using the LabVIEW driver that PEAK provide. I don't think you can use NI-CAN or NI-XNET to talk directly to the CAN network using the PCAN USB but we do use the conversion functions of NI XNET to convert between CAN messages and signal/value data and vice-versa and then use the PCAN LabVIEW driver to read/write the messages.
02-25-2015 11:44 AM
Thanks a lot. To use NI-CAN, is it restricted to CAN products from National Instrument? Or does it support CAN devices from other company apart from Peak System?
02-25-2015 12:36 PM
NI-CAN supports only National Instruments devices. However, you should be able to use Peak System's library (DLL) instead of NI-CAN to read and write CAN messages from within LabVIEW. There's nothing special about NI-CAN.
05-27-2015 03:05 PM
you indicated you used the xnet vi's to perform conversions. Would you please share how you created a valid xnet session? I would like to use that functionality but I receive an error on the session for invalid or nor CAN hardware.
05-27-2015 04:23 PM
@RussSec wrote:
you indicated you used the xnet vi's to perform conversions. Would you please share how you created a valid xnet session? I would like to use that functionality but I receive an error on the session for invalid or nor CAN hardware.
https://decibel.ni.com/content/docs/DOC-39793
XNet frame and channel conversion can be done without XNet hardware, it is just a translation of data from one format to another. So read your frames like you normally would with what ever drivers it comes with, and then use that API to convert it into signals, given a database.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-22-2015 12:05 AM
Would you provide the PCAN LabVIEW Driver VIs or share the link to download driver VIs...?
Thanks
06-22-2015 08:17 AM
Strange it looks like the drivers aren't free any more. You might bet lucky and find an old copy floating around before they started charging.
http://www.peak-system.com/Lab-View-Driver.255.0.html?&L=1
http://gridconnect.com/labview-driver-for-pcan-adapters.html
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-22-2015 08:19 AM
Oh I found this too not sure if it is what you want.
https://lavag.org/topic/15784-cr-pcan-driver-lv2009/
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
07-17-2020 04:13 AM
Hey can you share how you used it for peak system hardware. I am facing problem in sending payload.