«

Sep 25

Hantek DSO1202S and CSV Files

I recently picked up a Hantek DSO1202S oscilloscope to do some measurements of 120V AC power lines and UPSes.  I got it setup and took some measurements.  When I went to post-process the CSV files, not all was as expected.

 

When I opened up the files, I found that some of them had multiple entries for the same time:

#timebase=-589934592(ps)
,#voltbase=5000000(mv/100)
#size=40000
-8.000E-02,15.600
-8.000E-02,15.200
-7.999E-02,15.600
-7.999E-02,15.400
-7.998E-02,15.600
-7.998E-02,15.600
-7.998E-02,15.600
-7.997E-02,15.600
-7.997E-02,15.800
-7.996E-02,15.800
-7.996E-02,15.200

Along with that, the voltages are not taking into account the 10:1 probe that is attached.  The voltage displays correctly on the scope, but not in the CSV file.

You see, here’s the thing with the timebase:  With only four significant digits, it can only show 10,000 values without repeating.  So, if you try to save a file with 40,000 or more points, some will be formatted to have the same time.  Oops.  If anyone knows how to fix this, please let me know.  I’ve sent an email to China to see if there is a fix.

Permanent link to this article: http://blog.curioussystem.com/2017/09/hantek-dso1202s-and-csv-files/

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>