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:
SAVE:WAVEFORM CH1 (DESTINATION AND FILE NAME)
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.
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
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.
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
I figured it out!! Attached is the method needed. Please feel free to share!!
Thanks again for your help and patience.