From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGS with 9223 - sampling between 50Hz and 10kHz

Hello,

I'm trying to read  4 signals with an cRIO-9035 and a Ni9223 module.

This signal have frequencies changing between 50Hz to 10kHz.

I want to extract the fundamental frequency of each one.


I'm using the FPGA with a FIFO inside and I'm trying to read the values in the host(Files in attach). I create a Queue to be more efficient. This queue insert 7 packets in an array to have minimum 20000 points and with that draw a period of 50Hz (50Hz = 20000ms).

 

I created 5 channel to prevent the swamp of the 4 signals.


I tried everything: 4 FIFO,  one big FIFO and without FIFO.... but my program can't find the fundamental frequency in low frequencies but start to wark at 1kHz, more and less.

 

This is because the array don't contain enough point to create one period in low frequencies, but why?

Any sugestion?

Thanks

0 Kudos
Message 1 of 3
(2,540 Views)

Hi Michael

 

I would like to help you with this, but could you please also post the project file?
The two VI's alone are broken without the project file.

 

Thanks,

Corinne Doppmann
Application Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,464 Views)

Thanks for your answer.

I've update another version in this post of the forum:

https://forums.ni.com/t5/LabVIEW/Communication-between-FPGA-and-HOST/m-p/3554301#M994443

 

It's better but not great yet. I'm sorry for the repost but it's not possible to edit/delete the post.
Thanks

0 Kudos
Message 3 of 3
(2,448 Views)