Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

regarding FPGA & RT





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.


0 Kudos
Message 1 of 3
(5,640 Views)

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. 

 

Preston Johnson
Solutions Manager, Industrial IoT: Condition Monitoring and Predictive Analytics
cbt
512 431 2371
preston.johnson@cbtechinc
0 Kudos
Message 2 of 3
(5,632 Views)
Also, If you are very new to FPGA you definitely need to check out the prewritten example code. Help >> Find Examples. Browse To the Hardware I/O folder and look under compact RIO. There are some good examples there to make sure you acquiring the signal correctly.

Rick Kuhlman
Applications Engineer
0 Kudos
Message 3 of 3
(5,614 Views)