Siglent SDG1000 arbitrary CSV file format? - Page 1
Forum section: electronics / testgear

author: nctnico
author_rank: Super Contributor
timestamp: November 29, 2016, 04:05:50 pm
content: Does anyone know what kind of CSV files the Siglent SDG1000 function generator can read? Ofcourse it isn't documented in the manual and it would be too much to expect the Eayswave software to run standalone without the VISA crap installed.

author: rf-loop
author_rank: Super Contributor
timestamp: November 29, 2016, 05:42:38 pm
content: Somewhere in this forum it is better explained if I remember right but at this time I can not find it.But here is attached example.Just remove .txt and it is ok .csv.Fun is that there can also use data point instead of "time"just something like0,0.000001,0.038352,0.076703,0.11505....16383,-0.03835and before data, header 127bytes.(including errors..)But here real EasyWave generatedQuoteNo need care freq. When use wfm just set what want. Same about voltage level. This is for -10 to +10 (20)And it is good to know that when it reads .csv it also can scale it. If there is just less data points in taable or if voltage limits are not used then it do scaling for defined V range.Attached file is two cycle of sine. (if run 1MHz arb freq out is 2MHz)This .csv is just made using EasyWave.After then added .txt so that forum can accept it.

author: nctnico
author_rank: Super Contributor
timestamp: November 29, 2016, 05:53:50 pm
content: I ended up creating a blank CSV file with Easywave and then copy & paste the data from the oscilloscope into it. It would have been so nice if the generator could read generic CSV files and just skip the header.

author: rf-loop
author_rank: Super Contributor
timestamp: November 29, 2016, 06:03:46 pm
content: Quote from: nctnico on November 29, 2016, 05:53:50 pmYou can make text file using notepad what have this header and after then copy just data and copypaste this all to USB and to gen..

author: nctnico
author_rank: Super Contributor
timestamp: November 29, 2016, 06:15:03 pm
content: Now I know but if the generator's own CSV file reading algorithm was smarter I would not have needed to waste an hour to install NI VISA and mess around with Easywave. How difficult is it to skip the first lines with text and then read the numbers until there are no more numbers? This would allow direct CSV input from every oscilloscope which can write CSV files.

author: voltsandjolts
author_rank: Unknown
timestamp: November 18, 2018, 01:18:42 pm
content: This is a long dead thread but thought it was a reasonable place to dump this script for GNU Octave (and maybe it's clone called MATLAB?).It generates a simple sine wave and saves the datapoints to CSV file in a format suitable for opening in Easywave or directly by Siglent Arb Gens (SDG2042X tested) via USB stick.Modify as you like to save your own custom waveforms to Siglent CSV.Edit:Beware of a potential issue with the SDG2042X; according to this messagehttps://www.eevblog.com/forum/testgear/the-siglent-sdg2042x-thread/msg2435634/#msg2435634loading an arb wave with zero datapoints might lock up the unit. Maybe that's just when using LAN connection rather than CSV on USB stick but thought I'd mention it anyway.