Thursday, May 7, 2009
Working testing version of communication
We wanted a reliable and fast communication line between the two RCX bricks. When looking at our needs we wanted a program that could send a given integer with a predefined interval. Furthermore code on the recieving side must be able to continously monitor activity and act upon moments of no communication.
Therefore an own communication program has been written that on the sending side will broadcast the specified integer and on the recieving side will process that number and will monitor how much time there is between two packages. If this time exceeds the prespecified time then action is taken.
A test version of this program was able to continously send a altering integer from one brick to another with a frequency of about 15 hertz. The recieving brick was able to remotely shutdown the sendingthread on the other brick after a specified number of packages.