取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 12 条)
4,177 次查看

here are some pictures of my code

下载全部
0 项奖励
2 条消息(共 12 条)
4,131 次查看

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 项奖励
3 条消息(共 12 条)
4,117 次查看

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 项奖励
4 条消息(共 12 条)
4,110 次查看

for your information, i'm using Labview 2011

0 项奖励
5 条消息(共 12 条)
4,103 次查看

Et voilà !! 😉

 

It should open in LV2011

 

Best regards,

Jérôme Henrion | ONERA - Digital RF Engineer | CLA | CTA
0 项奖励
6 条消息(共 12 条)
4,094 次查看

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

0 项奖励
7 条消息(共 12 条)
4,090 次查看

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 项奖励
8 条消息(共 12 条)
4,084 次查看

thank you very much ! but i don't have the "data edge trigger.vi" 😕  so i can't run it 难过表情

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 !!!!

下载全部
0 项奖励
9 条消息(共 12 条)
4,077 次查看

ok i found the probleme ! no worries 😉 but i still have the problem with the "data edge trigger.vi" 难过表情

0 项奖励
10 条消息(共 12 条)
4,072 次查看