ADICON Support Forum Applied Digital, Inc.
Page 1 of 1 1
Topic Options
#20911 - 02/21/09 01:23 PM Ascii Bobcat - timing problems
DonJ Offline
newbie


Registered: 10/31/08
Posts: 14
I am having problems with the serial Bobcat. I am trying to send 13 or so messages. Most messages are 5-10 bytes, but some are up to 20.

I see the following 3 problems in the output:
Completely missed messages (a message will be skipped entirely). This happens mostly to short messages.

Sometimes the longer (20 char) messages get truncated.

Sometimes the long messages get characters thrown in the middle of the message in place of some correct characters. No idea where they come from.

I have written a very simple program to determine the problem. It is clearly related to the delay between message sends. But, the delays are huge. For example, I need a 4+ second delay after sending 1-20 character message!!!

The shorter messages typically need about 1.5 seconds to be consistently stable.

What is going on here? This kind of a situation makes the Bobcat essentially useless for any serious application (logging etc) My application is a 4 line display. It takes 30 seconds to update the display!!!

PS - I have checked this out with a terminal program and it really is the Bobcat. I see the messed up data on the terminal program, and I can update the display much faster with the terminal program...

I will send anyone my test program and data if you think the problem is my software.


Does the OCelot have the same limitation?

Thanks

Top
#20912 - 02/21/09 01:29 PM Re: Ascii Bobcat - timing problems [Re: DonJ]
DonJ Offline
newbie


Registered: 10/31/08
Posts: 14
Guy;
I just read you comment to Chris Anderson "the Ocelot checks the status of each device every few cycles" I have 3 SECU-16, and the Bobcat.

Could it be the delay in the Ocelot processing the Bobcat that is hanging me?

It looks like the Ocelot has no buffer, so too rapid a command would blow up the Ocelot send buffer???

Top
#20913 - 02/21/09 01:38 PM Re: Ascii Bobcat - timing problems [Re: DonJ]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
That's right, the Ocelot does not have an output queue for the serial bobcat. So if your C-Max program requests that a message be sent and the previous one had not been sent yet, it will be overwritten and you will never see that previous message. That's unfortunately the way it is.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#20914 - 02/21/09 03:04 PM Re: Ascii Bobcat - timing problems [Re: Guy Lavoie]
DonJ Offline
newbie


Registered: 10/31/08
Posts: 14
FYI - I tried the same program but using the Ocelot as the serial output. I got down to a 200 msec delay with complete reliability. Much Better!!!
Top
Page 1 of 1 1


Moderator:  Dan Smith, Monte G, ADI Tech Support, Guy Lavoie 
Hop to:
Who's Online
0 registered and 26 anonymous users online.
Recent Posts
how to post an icon
by manu
02/03/12 03:40 AM
Command Pair
by kuro
02/01/12 12:49 AM
Does anyone have a copy of the latest TSE?
by sevenzenith1
01/30/12 05:17 AM
Have HAL2000 do the work or the Ocelot?
by khem
01/28/12 02:49 PM
Ocelot + Powermid = Fail
by Guy Lavoie
01/27/12 03:37 PM
Shout Box

Newest Members
dfgg, manu, kuro, sevenzenith1, chuck214
2748 Registered Users
Forum Stats
2747 Members
19 Forums
3835 Topics
22711 Posts

Max Online: 67 @ 08/16/11 03:08 PM
February
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29