04-20-2011 01:50 PM
I am using LabView to save a file as .csv file. I have a TDS7704B and I can save the image file as a JPEG but not the waveform as a .csv file. Here is my string inputs to NI VISA:
DATA:SOURCE CH1
SAVE:WAVEFORM:FILEFORMAT SPREADSHEETCSV
SAVE:WAVEFORM CH1 (DESTINATION AND FILE NAME)
EXPORT START
04-20-2011 02:29 PM
In the driver is an example called 'Tektronix 7000 Series Transfer Current Waveform to File'. The function it uses (Fetch Waveform to file), would be on your Data>Low Level palette.
04-21-2011 11:02 AM
Good morning Dennis
This program saves the file on the host PC in a .txt format and the data is junk. I've attached 2 files. 1 is the .csv that I manually saved in the scopes directory and it has the data that I can look at. The other is the file saved by the program you mentioned and I need it in the .csv format so I can work with the data. Please feel free to give me a call on my cell if you want to talk about this.
Thanks for the help
Fred Sievert
Cell 719-235-0890
04-21-2011 12:09 PM
When you look at the block diagram of the fetch waveform to file, you will see that the data is saved to a binary file since the format of the data returned is the default of signed integer. If you want comma separated, you could change to ASCII format that the WAV? command will return. This will take much longer to transfer. It might make more sense to simply use the fetch waveform function. This will return a DBL array and you can then use the Write to Spreadsheet Function with that. A program to read the binary data is also pretty simple to write.
04-22-2011 11:48 AM
Good Morning Dennis
Sorry to bother you again, but I'm not a programmer, more of a hacker.
I'm trying to write the waveform to the scope disk in .csv format. Attached is a view of the labView script I'm using. It saves the file with this string/code but always saves it as a JPEG, not.csv
I can do this manually, but haven't found the correct string to do this with LabView
thanks for your patience and help
Fred Sievert
04-22-2011 01:14 PM
I figured it out!! Attached is the method needed. Please feel free to share!!
Thanks again for your help and patience.
Fred Sievert
08-16-2020 12:06 PM
Hi,
I encountered the same problem here. Could you show me how to resolve it in more details.
Thank you.