09-15-2022 12:51 PM
Hi, everyone. I am using Tektronix MDO34 oscilloscope as an analog data acquisition card and trying to transfer waveform data to PC via Labview.
My goal is trying to fetch waveforms as fast as possible continuously . And by adjusting some offical examples of Tektronix DPO MSO 2000 4000 Series, I can gain about 30 waveforms data per second. But it is still not enough. I need help !!!😫 Here is some details of my test.
(1) USB connection with PC and oscilloscope.
(2) Sample rate is about 50~100Ms. Record length is 1k~10k.
(3) I have put some basic configuration such as increament, origin and offset outside the acquisition loop. And by using NI I/O trace tool, I found that every time when the command ":CURVe?" sends out from VISA_WRITE vi, the next VISA_READ vi takes about 20~30 ms. And it is the most significant delay in this loop. Is there something I can do to change this ?
(4) The mannual says that, After ":CURVe?" command, the next data read from device should be like "#42000", which indicates the following data size. And then the binary block can be read. But binray data block transfer only takes about 3 ms.
I would really appreciate your help !
09-15-2022 01:28 PM
@RickLab2022 wrote:
I can gain about 30 waveforms data per second. But it is still not enough.
What would be enough?
09-15-2022 01:59 PM
Have you download the Tektronix MDO34 driver from NI ?
http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=34606
09-15-2022 02:01 PM
It's hard to give any help when there is no code. But here are some suggestions to try:
09-15-2022 11:15 PM
Thanks and Yes, I have done that.
09-17-2022 01:48 PM
Thanks for your advise. Maybe I didn't clearify my point.
(1) The main problem in this data acquirement loop, is still the time delay of the first preamble information reading process after the "CURVe?" command, which contains strings like "#520000".
(2) Actually, I don't need this string information. I know how it should be. Since it always consume 20~30ms, I want to get rid of it. But I didn't notice any other command which just transfer waveform data rather than "CURVe?".
(3) And I also tried the C++ program. And meet the same problem.
09-17-2022 01:51 PM
Thanks for your warning.
It is a quick project in my school. And we got the enterprise edition license.
And I wish that I could obtain more than 100 waveforms in one second on Tektronix MDO34.
Is that possible ?
09-17-2022 10:57 PM
It's hard to give any help when there is no code. (Don't save for anything more recent than 2020)