You know how we said we were using multiple threads inside the code for the DSP? Well, we were using multiple signal paths but each of them ran SEQUENTIALLY on the same thread started by the console. It took me two days to figure out how to write a C sharp class that would give me sample thread control and pass parameters to each thread (such as its thread number!). I hacked the mutltiple signal path code together when we were first getting ready for the Flex 5000 and wanted to have satellite operation, etc. I forgot to finish the job.
When I talked to Bill Tracey and Phil Harman recently about 192 killing them and Janus in the new code, a good thing happened. Bill cleaned up his USB code, and I realized I had not replaced this single thread, multiple signal path, sequential code. Bill also asked why we were doing the processing on the TX in simplex mode when we were in RX, etc. In looking at how to do this, I realized the failure to follow through on the original plan. I am taking a huge chance here by submitting a complete overhaul of this right before we want to release 1.10. I do this for what I consider are very good reasons. FINALLY, this code will take advantage of the multiple cores in your Core 2 NOTMONO, dual core, multiple processors, and hyperthread processors. IT MAY FAIL MISERABLY. It runs here and my processor percentage does not go up as much when going from 48 to 96 to 192000 as it did before. The transmitter and the receiver will operate concurrently on the different threads in your SMP machines and should speed the way through the signal samples by clock time. The code does not turn off the dormant thread when in simplex mode (the only mode we have ever used, since we have not completely enabled duplex mode yet). Let us get beyond testing this code for two days and fixing the inevitable bugs and other issues and then we will attempt to drop the TX code in RX when the mode is NOT CW and when simplex operation is selected. If that is successful and does not cause problems, we will try doing the bypass mode on RX when in TX to see what difficulties that causes. SAVE YOUR CURRENT VERSION BEFORE DOWNLOADING THIS IN A SEPARATE DIRECTORY if you do not understand how to use svn to back up to an earlier version. This could break your operation. CAVEAT LECTOR. 73, Bob N4HY -- AMSAT Director and VP Engineering. Member: ARRL, AMSAT-DL, TAPR, Packrats, NJQRP, QRP ARCI, QCWA, FRC. ARRL SDR WG Chair "If you're going to be crazy, you have to get paid for it or else you're going to be locked up." Hunter S. Thompson _______________________________________________ FlexRadio mailing list FlexRadio@flex-radio.biz http://mail.flex-radio.biz/mailman/listinfo/flexradio_flex-radio.biz Archive Link: http://www.mail-archive.com/flexradio%40flex-radio.biz/ FlexRadio Knowledge Base: http://kb.flex-radio.com/ FlexRadio Homepage: http://www.flex-radio.com/