Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to receive 500 KSPS analog data with Advantech PCI 1716U?

Hello everybody.

 

I have some trouble to get 500 KSPS data via PCI 1716U. my program is attached to this post. It works properly with the sample rate under 200.

 

Could anyone help me to solve this?
I will thank you to find mistakes in my program.

Download All
0 Kudos
Message 1 of 5
(3,130 Views)

Hi H.,

 

do you really think you can spin your loop this fast to read those 500kS/s one by one?

 

I guess the Advantech "DAQNavi" driver comes with example VIs (similar as DAQmx) explaining all the modes allowed to read samples from the card.

I also guess you can switch to "1 chan N samples" mode easily…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(3,108 Views)

Hi!

First thing I noticed in your code is that you are using the 1Chan 1Samp mode:

Capture.PNG

 

In this case it makes sense that you cannot read more than 200S/s - the "for" loop has a 5ms delay.

 

Did you try reading more samples at once (1Chan NSamp)?

0 Kudos
Message 3 of 5
(3,107 Views)

Hi GerdW,

 

Thank you for answering my question.

 

You know...

When I install DAQmx, I can find DAQmx Assistant under Express>Input pallet and it's fine.

But this is my issue that where to find similar DAQNavi assistant after installing DAQNavi. I will be glad if you help me in this way.

 

I send you DAQNavi assistant VIs which are available after installing DAQNavi. Would you please say me which VIs should I use in my program to receive analog data with such a sample rate I mentioned before(500KSPS)?

 

Best Regards.

0 Kudos
Message 4 of 5
(3,093 Views)

Ok,

 

That issue is solved. 

I remember the path.

>>>>  Measurement>DAQNavi Data acquisition 

 

 

Let me add another matter to clarify what I am facing with.

I even installed Realtime Module in order to achieve wait functions in the order of us instead of wait functions in the order of ms. But I can not receive the data in sample rate 500 KSPS as well as slow sample rate.

 

Consider that I've written this program previously and use this for slow sample rate and I know that the 5 ms wait never could satisfy my goal for faster sample rates. My certain question is that

1-What functions of DAQNavi  and Realtime Module will help me to achieving higher speed of sample rates?

2-Is there any tutorial to learn related techniques?

 

Thank you

0 Kudos
Message 5 of 5
(3,092 Views)