Hantek DSO1202S and CSV Files

 In Test Equipment

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.

Showing 2 comments
  • Richard
    Reply

    Hi, Did you ever get anywhere with this, I have a different Hantek scope and fount the same problem with the CSV output.
    Do you know how to use the timebase and voltbase values to convert the readings into real values?

    • Chad Kidder
      Reply

      My solution to this was returning the oscilloscope. I sent a support request into Hantek and it took about three weeks to get a response, which was asking to know what the timebase was. For now, I’d say the solution is knowing the timebase you are set to when you measure and then recreating the timestamp from that for every reading. Sorry I don’t have anything better to report.

Leave a Comment

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt

Start typing and press Enter to search