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
RXErr using PCAN-View
Re: RXErr using PCAN-View
Hi,
please check used CAN baudrate of your LabView application.
regards
Michael
please check used CAN baudrate of your LabView application.
regards
Michael
-
- Posts: 5
- Joined: Thu 9. Jul 2015, 22:52
Re: RXErr using PCAN-View
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
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
-
- Posts: 5
- Joined: Thu 9. Jul 2015, 22:52
Re: RXErr using PCAN-View
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?
So, am I maybe missing a step here?
Re: RXErr using PCAN-View
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
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
-
- Posts: 5
- Joined: Thu 9. Jul 2015, 22:52
Re: RXErr using PCAN-View
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
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