Difference between revisions of "Hantek DSO-1060"
m (→Other software) |
|||
Line 66: | Line 66: | ||
* [http://blog.elec3i.com/post/2010/07/21/Enfin-un-visualiseur-de-fichiers-WAF-! Elec3i announced a software] to read directly WAF files saved on USB sticks (French): [http://elec3i.votreboutiquepro.com/oscilloscope-numerique/visualiseur-de-fichiers-waf/product_info.php/cPath/23/products_id/63/language/en DsoWaf.exe] |
* [http://blog.elec3i.com/post/2010/07/21/Enfin-un-visualiseur-de-fichiers-WAF-! Elec3i announced a software] to read directly WAF files saved on USB sticks (French): [http://elec3i.votreboutiquepro.com/oscilloscope-numerique/visualiseur-de-fichiers-waf/product_info.php/cPath/23/products_id/63/language/en DsoWaf.exe] |
||
* [http://blog.elec3i.com/public/DSO_DevKit.zip DSO DevKit] and [http://blog.elec3i.com/public/Programmer_s_Guide.pdf Programmer's Guide] |
* [http://blog.elec3i.com/public/DSO_DevKit.zip DSO DevKit] and [http://blog.elec3i.com/public/Programmer_s_Guide.pdf Programmer's Guide] |
||
+ | ==Files produced by DSO-1060== |
||
+ | The device is able to save a number of info internally or on USB stick (formatted as FAT32!!) |
||
+ | |||
+ | Data here are reverse-engineered so you may expect different results (e.g. if using more channels, math & ref channels etc) |
||
+ | |||
+ | === .set === |
||
+ | It stores the device settings so you can later load some presets |
||
+ | |||
+ | To save it: |
||
+ | * Save-recall / Type Wave->Setup / External / New File |
||
+ | |||
+ | Structure: |
||
+ | * header "set" + 188 bytes |
||
+ | |||
+ | === .waf === |
||
+ | It stores the device settings and one waveform of 16384 samples (0x4000) |
||
+ | |||
+ | To save it: |
||
+ | * Save-recall / (Type Wave) / External / New File |
||
+ | |||
+ | Structure: |
||
+ | * header "waf" + 188 bytes + 16384 bytes of data |
||
+ | * header bytes == same as for .set file |
||
+ | |||
+ | === .ref === |
||
+ | It stores a reference waveform of 16384 samples |
||
+ | |||
+ | To save it: |
||
+ | * M/R x2 (REF) / Enable ON / Location External / 2 / New File |
||
+ | |||
+ | Structure: |
||
+ | * header "ref" + 62 bytes + 16384 bytes of data |
||
+ | |||
+ | === .csv === |
||
+ | It stores one waveform in CSV (comma separated value) format, of 16384 samples |
||
+ | |||
+ | To save it: |
||
+ | * Save-recall / Type Wave->Setup->Bitmap->CSV / External / New File |
||
+ | |||
+ | Structure: |
||
+ | * First line shows e.g. #CLOCK=2000.000 |
||
+ | * Second line shows the number of samples, e.g. #SIZE=16384 |
||
+ | * Samples are float on the first column |
||
+ | * two next columns are filled with zeroes, maybe for CH2 & ref? |
||
+ | |||
+ | === .bmp === |
||
+ | It stores a screenshot of the actual screen in bitmap format |
||
+ | |||
+ | To save it: |
||
+ | * Save-recall / Type Wave->Setup->Bitmap / External / New File |
||
+ | |||
+ | === SystemInfo.bmp === |
||
+ | It stores a screenshot of the actual screen in bitmap format when displaying the version information |
||
+ | |||
+ | To save it: |
||
+ | * Utility / 4 / System Info / Enter |
||
+ | |||
+ | === .rec === |
||
+ | It stores N snapshots of 1200 samples |
||
+ | |||
+ | To save it: |
||
+ | * Utility / 2 / Record / Mode OFF->Record |
||
+ | * Operate Stop->Start |
||
+ | * Mode Record->Play->Storage / Location external / 2 / New file |
||
+ | |||
+ | Structure: |
||
+ | * header "rec" + 147 bytes + N * 1200 bytes of data + some FF padding |
||
+ | * byte 1 = nr of snapshots |
Revision as of 15:39, 14 August 2010
Description
Official links:
- http://www.hantek.com.cn/english/news_list.asp?unid=14
- http://www.hantek.com.cn/english/produce_list.asp?unid=79
- Manual, also in French
- Software
Chinese handheld scopemeter, 2 inputs 60MHz & DMM 6000 pts
Bought on this French e-shop (see also their blog)
Internal data:
- Module DSO1060
- Serial No. DSO0000855
- Firmware Version: 1.68
- Hardware version: 5.2.34.0.0
Other devices of the same serie: DSO1200, DSO1600, DSO1600H
USB memory stick
The device is USB-host capable but I had many troubles to get him accessing properly a memory stick.
On a 6Gb harddrive it hung when I tried to write a file, and on a 256Mb flash it was always claiming "Unknown Filesystem".
I finally managed to get it working by reformatting the 256Mb flash as FAT32 (FAT16 failed, or was it FAT12?)
Firmware upgrade
Once you have a working USB stick with FAT32 you can try upgrading the firmware.
I found the firmware version 1.70 here, follow simply the included pdf (the Chinese version is here).
If there is a newer version it should come via the same link I guess...
Note that there are also instructions in French here which confirm you need a FAT32 filesystem.
Issues
A known issue is in continuity test mode, it's rather slow to beep, which makes it much less usable than a cheap continuity tester...
Upgrade to v1.70 didn't improve the situation
Another issue: DON'T use both USB ports simultaneously (PC connection & flash memory), see notes in French here
Under Linux
When connecting the scopemeter via USB it gives: idVendor=4348, idProduct=5537, Product: DSO10, Manufacturer: Hantek
There are several projects linked to Hantek products
OpenHantek: FAIL
To compile v0.1.0 I had to install libqt4-dev and libfftw3-dev
qmake && make && make install
To compile dsoextractfw, I had to install libbfd-dev (which actually installed binutils-dev)
./configure && make
It asks for the DSO*.SYS from the Windows drivers but actually it's only for models DSO2090, DSO2100, DSO2150, DSO2250, DSO5200, DSO520A
I also tried from SVN, had to install libusb-1.0-0-dev but resulting binary segfaults most of the time and there is no change for dsoextractfw
HantekDSO: FAIL
To compile v0.5.3 I had to install also kdelibs-dev and automake1.10
dsoextractfw seems to be more or less the same as for OpenHantek, same models supported
Oscope2100: FAIL
It relies on HantekDSO dsoextractfw and is only for model DSO2100
DSO DevKit from elec3i
Contains amongst others a linux branch
There is a test application and a linux driver.
Not tested yet.
From what I can see in the driver there is nothing unusual so it should be possible to get the device working not with the driver but directly with libusb.
Other software
- Elec3i announced a software to read directly WAF files saved on USB sticks (French): DsoWaf.exe
- DSO DevKit and Programmer's Guide
Files produced by DSO-1060
The device is able to save a number of info internally or on USB stick (formatted as FAT32!!)
Data here are reverse-engineered so you may expect different results (e.g. if using more channels, math & ref channels etc)
.set
It stores the device settings so you can later load some presets
To save it:
- Save-recall / Type Wave->Setup / External / New File
Structure:
- header "set" + 188 bytes
.waf
It stores the device settings and one waveform of 16384 samples (0x4000)
To save it:
- Save-recall / (Type Wave) / External / New File
Structure:
- header "waf" + 188 bytes + 16384 bytes of data
- header bytes == same as for .set file
.ref
It stores a reference waveform of 16384 samples
To save it:
- M/R x2 (REF) / Enable ON / Location External / 2 / New File
Structure:
- header "ref" + 62 bytes + 16384 bytes of data
.csv
It stores one waveform in CSV (comma separated value) format, of 16384 samples
To save it:
- Save-recall / Type Wave->Setup->Bitmap->CSV / External / New File
Structure:
- First line shows e.g. #CLOCK=2000.000
- Second line shows the number of samples, e.g. #SIZE=16384
- Samples are float on the first column
- two next columns are filled with zeroes, maybe for CH2 & ref?
.bmp
It stores a screenshot of the actual screen in bitmap format
To save it:
- Save-recall / Type Wave->Setup->Bitmap / External / New File
SystemInfo.bmp
It stores a screenshot of the actual screen in bitmap format when displaying the version information
To save it:
- Utility / 4 / System Info / Enter
.rec
It stores N snapshots of 1200 samples
To save it:
- Utility / 2 / Record / Mode OFF->Record
- Operate Stop->Start
- Mode Record->Play->Storage / Location external / 2 / New file
Structure:
- header "rec" + 147 bytes + N * 1200 bytes of data + some FF padding
- byte 1 = nr of snapshots