Hi all, I am new to much of this, so thanks in advance for your patience. Where can you find C++ (or C or C#) source code for ASK, FSK, PSK, QAM, PPM, and BPSK demodulation schemes? I have a feeling that if they exist they won't be free, but that's a problem for another day...Matlab and LabView have great modulation/demodulation toolkits, but we are looking for source code. Thanks again--Nina
software demoduation
Started by ●September 9, 2008
Reply by ●September 9, 20082008-09-09
nina121 wrote:> Hi all, > I am new to much of this, so thanks in advance for your patience. > > Where can you find C++ (or C or C#) source code for ASK, FSK, PSK, QAM, > PPM, and BPSK demodulation schemes? I have a feeling that if they exist > they won't be free, but that's a problem for another day...Matlab and > LabView have great modulation/demodulation toolkits, but we are looking for > source code. > > Thanks again--NinaWe develop and provide such code as the business. The contact is at the web site. Vladimir Vassilevsky DSP and Mixed Signal Design Consultant http://www.abvolt.com vlv (at) abvolt (dot) com
Reply by ●September 9, 20082008-09-09
nina121 wrote:> Hi all, > I am new to much of this, so thanks in advance for your patience. > > Where can you find C++ (or C or C#) source code for ASK, FSK, PSK, QAM, > PPM, and BPSK demodulation schemes? I have a feeling that if they exist > they won't be free, but that's a problem for another day...Matlab and > LabView have great modulation/demodulation toolkits, but we are looking for > source code. > > Thanks again--Nina >I could be quite wrong, but I suspect that this is one of those areas where you won't find a store-bought solution. Why? Because if you know how to select and use the code, then you know how to write it. And the actual demodulation code is a small part of the overall application, and highly sensitive to the processor and environment to boot. So either anyone with code to sell would have to have a great number of different versions, or anyone who bought code would spend as much or more time adapting it than they would have spent writing it from scratch. So you may luck out and find something, but if you're not up to doing the work yourself your best bet is to find someone whose willing to take the time to understand your constraints, then write the code for you, for your environment. -- Tim Wescott Wescott Design Services Control and communications systems consulting http://www.wescottdesign.com
Reply by ●September 9, 20082008-09-09
"nina121" <nmsweeney@comcast.net> wrote in news:wuqdnbIrYP3AD1vVnZ2dnUVZ_ozinZ2d@giganews.com:> Matlab and > LabView have great modulation/demodulation toolkits, but we are > looking for source code. >Most of the Matlab routines can be listed with "type", and converted manually to C++ -- Scott Reverse name to reply
Reply by ●September 9, 20082008-09-09
nina121 wrote:> Hi all, > I am new to much of this, so thanks in advance for your patience. > > Where can you find C++ (or C or C#) source code for ASK, FSK, PSK, QAM, > PPM, and BPSK demodulation schemes? I have a feeling that if they exist > they won't be free, but that's a problem for another day...Matlab and > LabView have great modulation/demodulation toolkits, but we are looking for > source code.If you have the time, understand the methods (and potential difficulties) and implement them yourself. A problem with black-box code is that you're stuck when you find that it doesn't quite do what you need. Jerry -- Engineering is the art of making what you want from things you can get. �����������������������������������������������������������������������
Reply by ●September 9, 20082008-09-09
Vladimir Vassilevsky wrote:> > > nina121 wrote: >> Hi all, >> I am new to much of this, so thanks in advance for your patience. >> >> Where can you find C++ (or C or C#) source code for ASK, FSK, PSK, QAM, >> PPM, and BPSK demodulation schemes? I have a feeling that if they exist >> they won't be free, but that's a problem for another day...Matlab and >> LabView have great modulation/demodulation toolkits, but we are >> looking for >> source code. >> >> Thanks again--Nina > > > We develop and provide such code as the business. The contact is at the > web site. >Well, if we're going to get _that_ commercial, I do that too. Whoever you chose, whether it's Vladimir, me, or someone around the block in your home town, make sure that they understand what _you're_ doing with _your_ software and _your_ hardware; it's awfully disappointing to get the worlds best application for someone else's situation. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com Do you need to implement control loops in software? "Applied Control Theory for Embedded Systems" gives you just what it says. See details at http://www.wescottdesign.com/actfes/actfes.html
Reply by ●September 9, 20082008-09-09
Tim Wescott wrote:> nina121 wrote: > >> Where can you find C++ (or C or C#) source code for ASK, FSK, PSK, QAM, >> PPM, and BPSK demodulation schemes? I have a feeling that if they exist >> they won't be free, but that's a problem for another day...Matlab and >> LabView have great modulation/demodulation toolkits, but we are >> looking for source code.> I could be quite wrong, but I suspect that this is one of those areas > where you won't find a store-bought solution. > > Why? Because if you know how to select and use the code, then you know > how to write it. And the actual demodulation code is a small part of > the overall application, and highly sensitive to the processor and > environment to boot. So either anyone with code to sell would have to > have a great number of different versions, or anyone who bought code > would spend as much or more time adapting it than they would have spent > writing it from scratch. > > So you may luck out and find something, but if you're not up to doing > the work yourself your best bet is to find someone whose willing to take > the time to understand your constraints, then write the code for you, > for your environment.There are several different issues here: 1) The algorithm: output = F(input) 2) The integration of an algorithm into a system: infile = fopen("foo.bar","rb") outfile = fopen("bar.foo","wb") input = fgetc(file) output = F(input) fputc(output, outfile) 3) The complete solution of the particular problem: "A modem should be built by Friday. It should work very good." Those are the three completely different tasks; they require different approach and completely different knowledge. The pricing is different, too. The OP is talking about (1) here, is she? Vladimir Vassilevsky DSP and Mixed Signal Design Consultant http://www.abvolt.com
Reply by ●September 9, 20082008-09-09
"nina121" <nmsweeney@comcast.net> writes:> Hi all, > I am new to much of this, so thanks in advance for your patience. > > Where can you find C++ (or C or C#) source code for ASK, FSK, PSK, QAM, > PPM, and BPSK demodulation schemes? I have a feeling that if they exist > they won't be free, but that's a problem for another day...Matlab and > LabView have great modulation/demodulation toolkits, but we are looking for > source code.Hi Nina, Have you considered spuc? http://spuc.sourceforge.net/ I just learned about it here myself a few days ago, so I don't have any experience with it and can't comment on its properties. -- % Randy Yates % "...the answer lies within your soul %% Fuquay-Varina, NC % 'cause no one knows which side %%% 919-577-9882 % the coin will fall." %%%% <yates@ieee.org> % 'Big Wheels', *Out of the Blue*, ELO http://www.digitalsignallabs.com
Reply by ●September 9, 20082008-09-09
On Sep 9, 10:12 am, "nina121" <nmswee...@comcast.net> wrote:> Hi all, > I am new to much of this, so thanks in advance for your patience. > > Where can you find C++ (or C or C#) source code for ASK, FSK, PSK, QAM, > PPM, and BPSK demodulation schemes? I have a feeling that if they exist > they won't be free, but that's a problem for another day...Matlab and > LabView have great modulation/demodulation toolkits, but we are looking for > source code. > > Thanks again--NinaIt's not free, but Mathworks sells a product called Real-Time Workshop that is advertised as generating C code from Simulink and Matlab code. I haven't used it, but it seems worth investigating if you are already modeling in Matlab. My guess is that the C code would often need hand- optimizing to meet performance requirements. Darol Klawetter
Reply by ●September 9, 20082008-09-09
nina121 wrote:> Where can you find C++ (or C or C#) source code for ASK, FSK, PSK, QAM, > PPM, and BPSK demodulation schemes? I have a feeling that if they exist > they won't be free, but that's a problem for another day...Matlab and > LabView have great modulation/demodulation toolkits, but we are looking for > source code.A little more detail about what you are trying to do would help. If this is a homework problem you will get different answers than if you are trying to build and sell a device. -- glen