LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

transfer Tektronix TDS7104 waveform file CSV format

We are currently telling the Tektronix scope to save the waveform data to a CSV file
on the scope's hard drive.
 
Is there a way to transfer that file over GPIB to the test PC's hard drive?
 
I have looked on the manual, and the only way to do this seems to be if
we place the scope on the network which we don't want to do.
 
Any ideas welcome.
0 Kudos
Message 1 of 5
(4,210 Views)
The driver has a read waveform function. Why don't you just use that and then use Write to Spreadsheet File to save it locally?
Message 2 of 5
(4,206 Views)

I downloaded a Plug-n-Play driver from Tektronix website.

Edit: I found the VIs but I don't see a Read Waveform vi?

Message Edited by nyc on 07-26-2006 04:44 PM

0 Kudos
Message 3 of 5
(4,204 Views)

I can understand the confusion if you're talking about the tktds7K driver. I have downloaded that too and played with it a while ago. It  has numerous functions - some of them overlap and some would seldom be used. For example, the Set Horizontal Parameters, configures record length, scale, and position. There are separate functions for each of these as well. Every configure function also has a query function. Using the same Set Horizontal Parameters, there is also a Get Horizontal Parameters. The query would not normally be used because your program is in control and has set these. No reason to read back what you jst sent.

At the minimum, you want to do an initialize first and then set basic horizontal, vertical, trigger parameters. You could also cheat a little bit and just run one of the Auto Initialize functions. Then use the Get Waveform. This is the function I meant to say - not Read Waveform. The results from this can be wired to a graph in LabVIEW. You can use the x zero and x increment to scale the LabVIEW graph to match the scope's display.

You might want to look at another driver for some examples. The NiScope has one. In fact, approved drivers on NI's site are all supposed to have an example. A LabVIEW driver for another tek scope would also be a good place to look.

Message Edited by Dennis Knutson on 07-26-2006 03:16 PM

Message 4 of 5
(4,201 Views)

Thanks, Dennis.

I found the Get Waveform VI, and I will look into that and the other options you mentioned.

0 Kudos
Message 5 of 5
(4,187 Views)