Prev: Add a Title to a Legend?
Next: Equation Manipulation
From: Stan Bischof on 13 Jul 2010 12:22 Jaidev Deshpande <deshpande.jaidev(a)gmail.com> wrote: > Hey Stan > > Thanks. Basically I need to generate a rectangular wave with > 10% duty cycle and multiply / modulate it with a > higher frequency sine wave. > > Unfortunately the generators I'm using are too crude (and the > modulator is not programmable either) to give me a reasonably >accurate rectangular form, and therefore I'm looking > for digital signal sources. > Well, a serial port is NOT in any reasonable sense a signal generator. Forget the serial port- it is a dead end for your needs. You might take a look at a fast USB DIO module like the Accessio DIO16A hooked to a vanilla DAC. Sounds like you only need audio frequencies so with an interface like this you could do your modulation in software then stream the resulting waveform digitally ( sample by sample). You wouldn't get real time of course but close enough for low frequencies ( you can stream at about 20M samples/sec ). With 16 bit DAC you'd have good quality analog output. Basic poor mans's AWG. Stan |