After a week of playing with my pseudo networking idea between two BX-35's, I am totally frustrated. StatusQueue does not seem to work as the manual says it...
At 12:28 PM 4/1/2003 +0200, you wrote: Perhaps you should post your code ... <---Here it is 1st BX-35 (this code is only called if a certain event occurs.) ......
Ooops... in the second BX code, the variable should be Array, not Command_Array Ken ... President and CTO - Arcom Communications http://www.ah6le.net Version...
... Change your Send routine to... Call PutQueue(OutBx, Array(1), 10) <---Wouldn't that place the same value - Array(1) - 10 times into the queue? Ken ... ...
Ken, This may not make sense ... but I would try putting the array value into a single byte and sending the single byte ... and on the other end receiving into...
Ken, Think about what you are doing here ... on the sending processor you loop 10 times and send 10 bytes which is the contents of the array ... on the...
Sending processor sends a byte ... Receiving processor reads StatusQueue and triggers the For Loop ... loads the first value in array (1) ... then increments...
This timing issue is very true, and I've seen it happen - StatusQueue is very fast, and will miss two consecutive bytes arriving, they simply don't arrive fast...
... <----Bytes ... <----I had assumed a queue was FIFO and each byte remained in the queue until either flushed or read. So if I stuffed 10 bytes into the...
Ken, ... Even if it's FIFO ... what happens if StatusQueue is triggered a second time before you finish for For loop? In your code that mucks with your array...
From: Ken Arck <ph@...> ... This is a good point, but in this case GetQueue blocks the task until data arrives. ... That's correct. ... True. Timing is...
... Ooops ... I didn't realize that ... so the receiving program halts completely? So then ... any idea why Ken's simple program doesn't reproduce the array on...
At 03:12 PM 4/1/2003 +0200, you wrote: Ooops ... I didn't realize that ... so the receiving program halts completely? So then ... any idea why Ken's simple...
Ken I have successfully got 2- BX24's to talk to each other using statusqueue, and I also found that timing is v important. I found that a debug.print in...
Please post the working code ... I too am about to do some serial connection between BX24s ... sometimes I get bizarre serial errors regardless of what I do. I...
Hi Thank you for replying so soon I know about the examples but I know how to take the String and make an “If” statement!!!!!!!! If you can solve me this...
Hi Thank you for replying so soon I know about the examples but I know how to take the String and make an “If” statement!!!!!!!! If you can solve me this...
Hello! This should be a very simple question. Is there any memory overhead for arrays? In other words, is an array's memory requirements simply the sum of...
At 11:52 AM 4/1/2003 -0800, you wrote: I'll try your code and see how it goes. Thanks to you, Dave and others who have offered me assistance! <----Doug, you'll...
... Cool ... I guess the burning question is why doesn't the other code work? I have one BX24 reading a Laipac GPS, Vector2x compass, BAR2001S barometer,...
Doug Wrote: Oh BTW this camera can be read by a microcontroller: http://www.seattlerobotics.com/cmucam.htm The docs say it can do this: - track the position...
Derek, ... <http://www.seattlerobotics.com/cmucam.htm>http://www.seattlerobotics.com/cmucam.htm ... Have you tried capturing images? Can you show an image that...
Ken, I just sent a bunch of code to you that should end your timing issues!! If you find that the method that I sent to you works please post it back to this...
From: "Scott B." <scottsb@...> ... There is a certain amount of overhead involved in calculating array indexes. Generally the most overhead involves...
Oops ... correction ... the little remote control mentioned below works on TV code #21 (with the radio shack IR decoder). The setting of TV code on this remote...