Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

transferring scope waveform to pc

I'm using the I/O assistant to transfer a waveform from a TDS 7104 scope through GPIB.  I am communicating with the scope fine and transferring the waveform data points using the curve? command.  However, when I try to display these points in an array, the Y values are way off of what they should be. 

I'm using the auto parse in the I/O assistant for ASCII format and I am also specifying ASCII format to the scope before I query for the data points.  I've tried using the build waveform function as mentioned in some other posts, and I'm still having the same problem. 

I'm pretty inexperienced with LabView, if someone could give me an idea of how I should approach this problem, I would greatly appreciate it.  Thanks,

Eric



0 Kudos
Message 1 of 10
(6,317 Views)

Hi Eric:

How are the values off?  Are you getting this array as a string out of the Instrument I/O Assistant?  If you display this string do you see the correct values?  How are you building the array?

Emilie S.

0 Kudos
Message 2 of 10
(6,300 Views)
The array created by the i/o assistant is of dynamic data type.  I convert this to a 1D array of floating point numbers.  To test this, i'm just capturing a dc voltage on the scope and checking the array values.  For 2.5 volts, all 10,000 points in the array are close to -13.  For 5 volts, the array values are all close to 53. 

I have also tried converting the dynamic data to a single waveform, and the values are displayed the same. 
0 Kudos
Message 3 of 10
(6,288 Views)
I've done quite a bit of programming of the Tek 6000 and 7000 series scopes. I've always used the LabVIEW driver provided from Tek. It includes a vi named "get waveform" that simply returns the capture as an array of double. Are you able to use the Tek driver?
0 Kudos
Message 4 of 10
(6,275 Views)
Dittohead,

I am able to get the Tek drivers to work now, they are much more straightforward to use than the I/O assistant. 

Thank You for your help,

Eric


0 Kudos
Message 5 of 10
(6,261 Views)
could anyone help me? im having trouble transferring my waveform from scope to pc on my tektronix TDS694C
Message 6 of 10
(5,925 Views)
You should really start a new thread and you have to provide more information. Just saying you are having trouble in not enough to help. From another thread of yours, you have the driver and have the example. What exactly happens when you run the example?
0 Kudos
Message 7 of 10
(5,916 Views)
sorry for duplicate post. i wanted to delete it but couldnt find the delete post button. well i have the TDS6xx drivers but it doesnt include the Get Waveform vi. so is there any other way i am able to obtain and transfer the waveform to my labview?
0 Kudos
Message 8 of 10
(5,910 Views)
The TKTDS Read Waveform.vi is included in the driver. It's in the _shared folder in tktdsxxx.llb.
0 Kudos
Message 9 of 10
(5,897 Views)
Thanks for the help dennis. really appreciate it.
0 Kudos
Message 10 of 10
(5,870 Views)