05-02-2006 11:07 PM
Dear Labview Programmers,
we are using compact rio 9002, fpga 9101, with IO module of 9215 and labview 7.1.
My problem is, when we are feeding a 1KHz sine wave signal
through the 9215 module with some DC components. My aim is
to get only the the ac signal by rejecting the DC components.
But I have tried to filter the signal, but all in vain ( Even
filtering is also done by introducing a RC filter before
feeding it into the 9215, but iam not getting the sine wave
correctly in my RT).
We are able to get the amplitude of the signal in the RT
part, but not the exact sine wave signal. Moreover we are
very new to this FPGA (compact rio) side, johnson.
Could anybody help us by sending any VI's in both FPGA part and
RT part, that will be helpful for us.
Expecting yours fast response,
Labview Lovers.
05-03-2006 08:30 AM
here are a couple of ideas, unfortunately I do not have source code for this.
1) using the digital filter design tools, you can design a high pass filter for the FPGA side that will remove the DC component
2) bring in the analog data to RT, perform a median statistic on the block of data (channel data), then subtract the median from the signal. This is down and dirty but is simple and executes quickly.
05-04-2006 09:58 AM