Having thought about the switching method...
With a limited number of talkers there is an option to avoid garbage on the bus.
(You will still miss some sentences, but if there are not too many talkers it may be acceptable if you don't need a realtime display.)
PSEUDO
Code:
MAIN:
Listen 1st talker
wait for the talker to become idle (time between two transmissions)
switch 1st talker to the bus
wait for talker to become active (or timeout if talker doesn't "talk" within a defined time)
wait for talker to become idle again
disconnect talker from bus
Listen to 2nd talker
wait for the talker to become idle (time between two transmissions)
switch 2nd talker to the bus
wait for talker to become active (or timeout if talker doesn't "talk" within a defined time)
wait for talker to become idle again
disconnect talker from bus
.
.
.
GOTO MAIN
regards
Ralph
_______________________________________________
There are only 10 types of people:
Those who understand binary, and those who don't ...
_______________________________________________
Bookmarks