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