LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get waveform from TDS2012

Hello,
      the attachment is an example whose function is to acquire the waveform from an oscilloscope  from a reference book. Now I'm wondering whether the waveform displayed in the waveform graph is just the waveform the oscilloscope acquires. My oscilloscope is TDS2012. I connect the oscilloscoe probe to the channel 1 input connctor.Attach the probe tip and ground lead to the PROBE COMP connectors.The  PROBE COMP signal is a square wave with a frequency of 1KHz and a peak voltage of 5V. If I choose channel 1 as the trig source, and let the programme run for 1000 times,it will take more than 1minute to complete this task. I just want to know whether the  waveforms  refreshed in the waveform graph are generated by the source during the  1 second since the programme starts.
0 Kudos
Message 1 of 2
(2,641 Views)
Hi yaoyao,
Your question all depends on the behavior of the CURVE? command.  If it generates a new acquisition each time it is called, then you should be seeing 1000 different waveforms.  If CURVE? simply transfers the existing waveform without initiating a new one, you will be transferring the same waveform 1000 times.  The programming manual should have more details about the behavior.  You may need to call
 
You should look at the LabVIEW instrument driver that we have for this instrument:
 
The instrument driver should simplify programming and you can look at the block diagrams to see which instrument commands are being sent.
0 Kudos
Message 2 of 2
(2,627 Views)