02-27-2015 05:01 AM
if i have bitstream
where 0's and 1's are represented as below
and after representing them on a graph i want to apply a raised cosine filter and make them look ike this
soo is there anyway i can do that...please help
02-27-2015 08:26 AM - edited 02-27-2015 08:27 AM
Well can't help you much with a raised cosine filter because LV doesn't have one built in and calculating the FIR coefficients is beyond me without the filter design toolkit and a lot of insentive! However, here's a quick example of up-sampling the digital signal into an analog signal with (say) 30 samples per bit time. You can then pass the analog signal through the filter of your choice (here I've just used a basic filter which does not give the shape you want but gives the general idea). You could probably refine this considerably with a little thought.
02-27-2015 08:34 AM
can you please attach the vi ?
02-27-2015 09:27 AM
@Eldokch wrote:
can you please attach the vi ?
Are you unwilling to even spend the time to re-create the VI on your own?
02-28-2015 05:09 AM
No sir, it's just i am new to labview and sometimes i find a hard time finding the blocks that's all...anyway i had already done it
but the result is not as expected
why it's showing like a constant in the first samples but then it changes ?
02-28-2015 08:27 AM
Do you think we have a telescope to look at your screenshot to determine what is happening in it?
03-01-2015 02:46 AM - edited 03-01-2015 02:49 AM
Eldokch, your screenshot is impossible to read!!
However it looks like your generation of a bitstream differs from mine in that you generate eight lines of digital output (at least thats what is showing on your graph) but I generate a single line. But that should be beside the point, since I have no idea what format your actual real world bitstream takes (and that is what you should be using - mine was just an example of one way it could be done using dummy data).
The point is I have shown you a principle that you should be able to understand, extrapolate, and make your own. Take each digital bit, make it into a stream of analog samples (in this case, 30 samples of 0.0 or 1.0), and then apply your filter to the analog waveform. If you don't understand how to do this then you need to start studying LabVIEW - I'm not going to debug it for you unless I get your salary too!!
03-01-2015 02:47 AM
by the way I no longer have the vi - I just knocked it together, took a screenshot, and dumped it!