LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to acquire a data from oscilloscope

Hi there,

 

I am using Keysight DSO-X4104A oscilloscope model and Labview 2018.

 

My mission is to acquire a duty cycle data and waveform data from the oscilloscope and to record the duty cycle data every 0.1 seconds.

 

I programmed a VI using Agilent 2000 3000 X-Series basic examples.

This attached VI program basically works fine, but data is recorded only up to approximately one data per second.

Even if I speed up the timer loop of VI untill 10 ms, it doesn't record faster anymore.

 

I want to get more data per second, I want to know what is the problem.

0 Kudos
Message 1 of 6
(3,544 Views)

I don't have the Keysite scope VI's so I can't see what is happening inside them, one of the two is limiting your loop rate.

 

What interface are you using? (USB, Serial, GPIB, LXI) 

 

I ask because a serial interface running a slow baud rate could take that long to transfer the waveform data.

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 6
(3,491 Views)

 

Thank you for your answer.

 

I am using USB interface. 

 

If anyone can analyze my VI code and know why it limit loop rate, please answer me.

 

 

0 Kudos
Message 3 of 6
(3,460 Views)

Remove or use a "diagram disable" to determine what VI is taking so long.

 

Again I suspect the waveform transfer. We use LeCroy scopes here and they have a Ethernet interface. I have several tests the save waveforms and it takes a second or so to transfer a waveform even through Ethernet.

 

Is there a reason you need to see the waveform and update it live on screen?

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 6
(3,452 Views)

 

Thank you for your sincere advice.

 

I would like to check the signal output value, duty cycle, and waveform from my sensor in as possible as fast time to check that my sensor work fine.

 

I am curious too, if the reason for the slow data recording is because of physical interface or my programming code.

0 Kudos
Message 5 of 6
(3,432 Views)

Well I don't see anything in your code that would be causing it.

 

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 6 of 6
(3,424 Views)