From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Having problems with CAN WRITE

I'm working with a fuel cell which can be communicated with via CAN. The problem that I'm having is that the function from the library PCANBasic.dll, PCAN WRITE, is not sending the signal to the cell. I have used the PCAN program to send signals and I can turn it on without any problem, but when executing the VI the program says that the signal sent through PCAN Write is not being received. Any alternatives that I can take hereimage.png?

0 Kudos
Message 1 of 2
(719 Views)

You need to use an API to talk to the hardware.  Calling these DLLs blindly will not work.  You need to be opening and closing sessions to the hardware.  There also likely is configuring steps you are missing.  Where are you selecting the baud rate in particular?.  There are several PCAN drivers provided by people online.  I have never hard access to PCAN hardware so I can't say which if any of these work well.

 

https://forums.ni.com/t5/LabVIEW-APIs-Documents/PCAN-Driver/ta-p/3517003

https://lavag.org/files/file/211-pcan-driver_lv2009/

https://www.gridconnect.com/products/labview%C2%AE-driver-for-pcan-adapters

https://www.peak-system.com/CAN-Bus-Connection-for-LabVIEW.255.0.html?&L=1

https://phytools.com/products/labview-driver-for-pcan-developer

http://www.microport-taiwan.com/english/SingleP.asp?Category=90&PNo=4010&Url=Product&page=2

0 Kudos
Message 2 of 2
(645 Views)