![]() This merging of two asynchronous data streams, and time- and position stamping one of them with data from the other, is a challenging task. Even so, the programs features mechanisms for handling such a case. Main loop executes once every second, and Echo Sounder has a repetition rate of 2 seconds, so in theory there should not be any bottlenecks in consuming Echo Sounder data packets. Time- and position stamping of Echo Sounder telegrams is achieved by sending them through a "Last-In-First-Out" (LIFO) queue to the main loop. ![]() Reading of Echo Sounder telegrams is performed in a separate thread. The essential idea behind our program is to read GPS data telegrams in an eternal main loop. Setup for this scenario is given further down on this page. It's possible to merge two serial input data streams (this is what we are trying to achieve) using software like [[ | GpsGate}} from Franson.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |