All Forums
 Hardware
 Ethernet, IR, Serial, CAN and high speed data
 CAN rx buffer
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

opsens_claude_belleville

34 Posts

Posted - 09 Nov 2005 :  11:23:31  Show Profile
I'm using GCX with CAN driver v1.4 on WinCE 4.2

I wait RxEvent to read the CAN
->After I execute ONE command per msg at a time
And loop until no command into the rx buffer

In the ADS Windows CE PeliCAN Driver documentation you said that the driver have 5000msgs buffer.

Are you sure about that because in fact, if I doesn't read the CAN fast enough, I lost some message.


GCX asking the CAN device
CAN device send me 10 MSG (1msg per 0.004sec)
GCX receive 1 msg and execute it (add to queue msg) and loop

Sometimes the few last message doesn't arrive to the GCX
(but are send through the CAN bus because I saw them on a external CAN logger)


Thanks

Philippe Gagnon
Opsens

akidder

1519 Posts

Posted - 16 Nov 2005 :  11:23:21  Show Profile  Email Poster
Thanks for the details. Can you let us know what baud rate you're using? Do I understand correctly that you are getting a burst of ten messages with 4ms between them, then a pause in the data?

Do you think we could reproduce the issue here if we create a test app that sends out burts of ten messages at a time?

Also let us know which CE 4.2 GCX build you're using.

Thanks, Drew
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000