Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Capture continuously signal using TDS 1002B

Hello,

 

I want to capture 2 signal using TDS 1002B using USB in labview. I want to capture continuously my signal in Time based 0.0005 second.

But when I initial oscilloscope in labbview it is not work (please see attached file 1).

When I use a Auto Setup configuration in my Loop it is work but It has 2 problem (please see attached file 2).

 

1- I lost Time based 0.0005 second.

2- In any iteration in For loop Auto setup must be config so this process takes many time.

 

Would you please help me.

 

Download All
0 Kudos
Message 1 of 8
(3,936 Views)

What exactly do you mean 'does not work'? All that you have done is place a for loop around the read in one of the examples that comes with the driver. Do you get an error?

0 Kudos
Message 2 of 8
(3,924 Views)

It mean that when I want to read a Sin signal using oscope file 1 shown a signal similar noise but file 2 shown Sin signal.  

0 Kudos
Message 3 of 8
(3,918 Views)

I would suggest you try the Acquire Continuous Waveform example. After configuring the second channel, add another fetch waveform to get channel 2.

0 Kudos
Message 4 of 8
(3,911 Views)

Thank you.

 

I see example for continuous Aquire but it has for 1 channel only.Would you please tell me how add 2 channel to this example.

Do perfom 2 channel simoultanosly sampling with this method?

 

Best regards

 

 

 

0 Kudos
Message 5 of 8
(3,906 Views)

Yes, you just have to add the configuration for the second channel. You have that configuration in the example you have. Then, as I said, inside the loop you have to add another fetch to get the waveform for the second channel. Look inside the Read Muliple Waveforms VI. I has a single fetch inside a for loop with a channels array. You can also do it that way instead of adding a second fetch.

0 Kudos
Message 6 of 8
(3,901 Views)

Thank you again

 

Would you please how you added 2 channel using array to Fecth?(please see attached file)

 

regards

 

0 Kudos
Message 7 of 8
(3,898 Views)

Place another for loop around the fetch with auto-indexing enabled so that the fetch will be run twice with each iteration of the outer for loop.

0 Kudos
Message 8 of 8
(3,893 Views)