12-14-2017 06:37 PM
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.
12-15-2017 01:49 AM
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…
12-15-2017 02:52 AM
Hi!
First thing I noticed in your code is that you are using the 1Chan 1Samp mode:
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)?
12-15-2017 08:43 AM
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.
12-15-2017 09:14 AM
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