LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

COMPARISON input sinus

Thank you for your attention
In NI examples there is not an example or a project that contains a comparison between a signal acquired and generated another FPGA
Will you help me send me an example or give me an idea.
Please if you can give me your thoughts and opinions in this attached code
The purpose is to regulate the input voltage acquired by the 9225 module comparing it with a reference voltage which is in FPGA

The problem is that it has not acquired the voltage and reference voltage amplitude does not vary

Attached so to the principle of the project

 

Download All
0 Kudos
Message 1 of 2
(2,014 Views)

Hi basmasag,

 

Could you please explain a bit further what exactly you are hoping to do?  It sounds like you are trying to compare a simulated sine wave on the FPGA with a signal you are acquiring on your 9225, is that correct?

 

If so, you should be able to generate the waveform using the Sine Wave Generator (Functions Palette > FPGA Math and Analysis > Generation > Sine Wave).  From there, doing a simple comparison with your data point by point as it is received by the module should work.  I am unable to open up the .zip file you attached to your post, could you try attaching it again?

Andrew T.
National Instruments
0 Kudos
Message 2 of 2
(1,977 Views)