Page 1 of 1

RXErr using PCAN-View

Posted: Thu 9. Jul 2015, 23:01
by sandeep156
Hello,

I have a device which constantly sends PDOs through the PCAN-USB to the laptop (PCAN-VIEW) every 64ms once I activate it. I could see the data on PCAN-VIEW just fine before I started using the PCAN Basic Labview VIs. However, after meddling around with the LabVIEW VIs to see if I can send and receive some messages through LabVIEW, I am not able to receive the data I used to receive on PCAN-View anymore.

The errors that I see are

Form Error, RX, CRC delimiter, RxErr = 1, TXErr=0
Form Error, RX, Error Delimiter, RXErr = 2, TXErr = 0

And the RXerr increases until it hits 128.

So I tried to connect my device to another laptop and was able to see the data as expected on PCAN VIEW. I have not done any LabVIEW work on this other laptop.

So I have clearly done something on LabVIEW to cause this. I have tried reset and uninitialize VIs on LabVIEW to see if it would solve the issue. However it did not.

Can I get some suggestions on what to try next?

Thanks,
Sandeep

Re: RXErr using PCAN-View

Posted: Fri 10. Jul 2015, 09:56
by M.Maidhof
Hi,

please check used CAN baudrate of your LabView application.

regards

Michael

Re: RXErr using PCAN-View

Posted: Fri 10. Jul 2015, 16:28
by sandeep156
Hey Michael

I set the baudrate in my LabVIEW application to be 50kbits/s which is what I need it to be. I did the same when I reverted to using just PCAN-VIEW.

Do you see any other possible issue?

Thanks,
Sandeep

Re: RXErr using PCAN-View

Posted: Fri 10. Jul 2015, 16:35
by sandeep156
Also, I guess my main issue here is, when I move out of LabVIEW i.e. unitialize and close out the connection, shouldn't I be able to set the parameters I want on PCAN-VIEW and establish communication with my device?

So, am I maybe missing a step here?

Re: RXErr using PCAN-View

Posted: Mon 13. Jul 2015, 14:40
by M.Maidhof
Hi,

yes, after uninitialisation, you should be able to set the baudrate parameters in PCAN-View again.

About your main problem: do you have termination resistors in your CAN cable?

regards

Michael

Re: RXErr using PCAN-View

Posted: Wed 15. Jul 2015, 23:20
by sandeep156
Hey Michael,

I just found out the problem today.. It was a blunder on my part. While I had the right baud rate on labview (500k) I had the wrong one on PCAN-View (50k)

I apologize for having taken up your time.

And yes, there is termination.

Regards,
Sandeep