06-10-2013 08:25 AM
Hello,
I use Veristand 2011, and I worte a custom device for reading of can messsages over Read XNET CAN Frame
now my problem is, that can't get any CAN-Messages.
I could deploy my custom device CAN-Frame, but there is no can information.
In the other hand I defined a XNET-Session on system explorer with CAN1. Could be this the problem????
Or maybe my RT-Driver?
Please help.
Regards,
YesB
Solved! Go to Solution.
06-11-2013 02:59 AM
Hello,
if nobody can help me, please tell me, so I can go to other forum.
06-11-2013 06:58 AM
Hi,
your device is working properly. and i can see CAN frames. I made the following changes:
It's possible that you have seen the error frame. But you have several frames on the Bus. That means that you have to write all frames into the RT FIFO. I would recommend that you use XNET Read RAW Frame. It's an array of U8 which you can handle better that working with clusters and so on.
Regards,
Philip
06-11-2013 07:35 AM
Hello Philip,
thank you for your advice. I tried your solution, but with no success.
You can see mor information in attach.
06-11-2013 09:42 AM
Hello Philip,
I did many tries, but I couldn't see any frames.
Please help 🙂
Regards,
YesB
06-13-2013 07:11 AM
Hi,
How did you test it. I made a simple loopback. I have configured cycled frames in SDF on CAN Port1. The other CAN Port 2 have configured in your Custom Device.
06-13-2013 07:29 AM
I solved the problem. Thank you to all
Regards.
YesB
06-14-2013 06:28 AM
Hello Philip,
how can I change this Code to CAN Raw Frame, without problems with XNET Read Queue Overflow.
I have this problem at the moment.
Regards,
YesB