LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA Sampling problem

hi everybody,

 

i have a problem with timing on my FPGA,  i would like to acquire a signal at 400khz, and the  analogique/digital converter( NI5731) is working at 40MS/s, so one period of my sinewave should be described by 100 points, but what i see ( picture attached) is that one periode is described  with 23 points. So it seems like the analogic signal  is not sampled at 40MS/s as it should be. Any help ?

Thank you !

 

Regards

 

Jean

 

 

0 Kudos
Message 1 of 12
(3,162 Views)

here are some pictures of my code

Download All
0 Kudos
Message 2 of 12
(3,116 Views)

Hello jeanT !

 

You should do like in this example, you have to use a timed loop, with "IO Module Clock 0" on the input clock of this loop.

 

You can find some basics examples here :

 

C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\FlexRIO\IO Modules\NI 573X\

 

Don't hesitate if you have more questions,

 

Best regards,

 

 

Jérôme Henrion | ONERA - Digital RF Engineer | CLA | CTA
0 Kudos
Message 3 of 12
(3,102 Views)

hi jerome !

 

Tank you very much for this answer i will try to follow the logic of your picture, i don't have the NI 573x example in my computer 😕 could you send it to me please ?

 

Best regards

 

jean

0 Kudos
Message 4 of 12
(3,095 Views)

for your information, i'm using Labview 2011

0 Kudos
Message 5 of 12
(3,088 Views)

Et voilà !! 😉

 

It should open in LV2011

 

Best regards,

Jérôme Henrion | ONERA - Digital RF Engineer | CLA | CTA
0 Kudos
Message 6 of 12
(3,079 Views)

Thk you very much jerome ! infortunately, the version is still 2013 and labview 2011 can't open it 😞

0 Kudos
Message 7 of 12
(3,075 Views)

Yes, unfortunately I can't easily give you those examples beacuse of FPGA toolkit version..

 

But here you go for FPGA vi

 

Regards,

 

Jérôme Henrion | ONERA - Digital RF Engineer | CLA | CTA
0 Kudos
Message 8 of 12
(3,069 Views)

thank you very much ! but i don't have the "data edge trigger.vi" 😕  so i can't run it Smiley Sad

i've got also another question, my aim is to filter the signal that i'm going to acquire, as the butterworth filter is not supoorted into a single timed loop, i got the idea to procede by a FIFO, see attached, but there is a timing problem i presume because the graph don't display the waveforms fluently  😕 it stay freeze.

 

Thank again !!!!

Download All
0 Kudos
Message 9 of 12
(3,062 Views)

ok i found the probleme ! no worries 😉 but i still have the problem with the "data edge trigger.vi" Smiley Sad

0 Kudos
Message 10 of 12
(3,057 Views)