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.
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 here?
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.