07-13-2014 10:57 PM - edited 07-13-2014 11:08 PM
Hi Guys,
About 3 weeks ago, I asked for help for generating rectangular pulses here and as shown in the two below pictures, everything was alright.
However, my receiver disagrees : he doesn't want rectangular pulses so I need to change it for a sine pulses.
I've tried to use the function Get Waveform Components (digital waveform) and to multiply it with a sine of the same frequency but I can't multiply an array digital data with an array of double.
Thanks for your help.
Felipe.
07-13-2014 11:39 PM
What do you mean sine pulse? You can use a Sine Pattern.vi to generate a sine wave of desired Frequency and Amplitude.
07-13-2014 11:50 PM - edited 07-13-2014 11:51 PM
Hi P@Anand, Thanks for your answer. It's the same idea as sine pattern but the problem of Sine pattern is that it doesn't allow to transmit random bits.
07-13-2014 11:57 PM
Can you please explain what do you mean by "Random bits"? I am assuming you are generating the signal and transmitting through a DAC channel, if not can you please explain a bit about the hardware you use.
07-14-2014 12:04 AM - edited 07-14-2014 12:10 AM
Yes of course.
My input is a string of 0 and 1 : it's arandom sequence that I describe as random bits.
Once these parsed, I'm creating a rectangular signal as my second png shows and I'm sending these through the channel as you guessed.
My point is to convert the rectangular signal into sine before sending it into the channel so that the filter of my receiver becomes happy receiving sine and rectangular signals
07-14-2014 12:34 AM
Do you want to smoothen your pulse signals? If you have random bits you cannot convert that to a sine pattern since sine wave is periodic. Also when you say 0 and 1 what will be the voltage levels when it goes out of the DAC channel? Is it 0 and 5V ot 0 to 1 V?
07-14-2014 12:42 AM
The conversion is 0V for 0 and 5V for 1.
Yes the point is to smmothen the pulse signal, do you know any way to do it ?
My last option (the brutal one) is to add a RC circuit and play with the impedance to create something smooth but if I can avoid that it would be nice.
07-14-2014 07:03 AM
Hi Glokan,
Do you want to modulate a pulse with a sine signal so that the remaining will be sine signal.You can send that signal to the receiver using a analog out data acquisition card.But the question is how your receiver will understand that sine signal and how will it interpret that modulated signal.
Regards,
SrikrishnaNF
07-14-2014 07:39 PM
Hi SrikrishnaNF,
the receiver is the audio mic on a smartphone. I'll try and come back to you with the results.
Cheers,
Glokan.