Poll

What is your interest in the Hantek DDS 3x25?

I own one
36 (27.1%)
I am considering getting one
40 (30.1%)
Curious about the hack
16 (12%)
Just passing through
41 (30.8%)

Total Members Voted: 111

Author Topic: Review: Hantek DDS 3X25. Anyone own one?  (Read 289899 times)

0 Members and 1 Guest are viewing this topic.

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11714
  • Country: my
  • reassessing directives...
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #375 on: June 02, 2012, 09:37:58 pm »
Quote
I'm one of the people behind the sigrok project
thanks gosh you are here. i went sigrok looking for HANTEK LA5034 logic analyzer driver but sadly none. and your site is "sure" some confusing site for me. do you plan to RE the LA5034? just the windows driver and API?
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline calin

  • Regular Contributor
  • *
  • Posts: 240
  • Country: us
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #376 on: June 03, 2012, 04:42:26 am »
@saturation - don't be scared of "software" it's just a cookbook !!!. is there anything bad in being an "Linux guy" ? if you did not had any UNIX guys around till now then you may have found one :)

I said I will run it under a VM because that way the USB data stream passes through the  host OS I/O channels,  there is a module called usbmon and I can capture the whole traffic without needing an expensive hardware USB analyzer .. there are few tools on WIN that do something similar with what usbmon does that but they pretty much suck compared with the tools I have @ my disposition on Linux. 

"biot" ... You are saying you got the protocol "decoded" or am I reading wrong ?
« Last Edit: June 03, 2012, 05:01:41 am by calin »
 

Offline biot

  • Regular Contributor
  • *
  • Posts: 70
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #377 on: June 03, 2012, 07:59:00 am »
i went sigrok looking for HANTEK LA5034 logic analyzer driver but sadly none. and your site is "sure" some confusing site for me. do you plan to RE the LA5034? just the windows driver and API?

Unfortunately none of us have an LA5034, and we do have a ton of other devices in the pipeline, so no concrete plans. You can help to make it a reality -- start by creating a device page on the wiki, with good detailed pictures and description of the device. Writing a driver is really not that hard, lots of example code.

The sigrok project never uses vendor-provided drivers or APIs. We only use vendor firmware if necessary, and not even that for Cypress FX2-based devices -- wrote our own for that.
 

Offline biot

  • Regular Contributor
  • *
  • Posts: 70
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #378 on: June 03, 2012, 08:01:09 am »
You are saying you got the protocol "decoded" or am I reading wrong ?

Yes. As you say, running the vendor-provided software in a VM and using usbmon is all you really need.
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11714
  • Country: my
  • reassessing directives...
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #379 on: June 03, 2012, 12:22:36 pm »
Quote
You can help to make it a reality -- start by creating a device page on the wiki, with good detailed pictures and description of the device. Writing a driver is really not that hard, lots of example code.
send me link on how to write a driver, sniffing the protocol etc, what tool/equipment needed etc. if its within my budget, maybe i can get the LA5034. fyi: that device already has an API and driver, but not documented, if there is method/tool to RE the exportable functions in there (how to call functions and its arguments/parameters) i think that is much quicker than rebuilding API+driver from scratch. thanks.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline calin

  • Regular Contributor
  • *
  • Posts: 240
  • Country: us
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #380 on: June 03, 2012, 03:41:41 pm »
This will get you started for sure: http://wiki.wireshark.org/CaptureSetup/USB

If you run an recent Linux kernel then you are set with everything from the beginning as almost all Linux distro-s come with usbmon built/included as a module.  The path is DEVICE <-> "raw" USB driver + usbmon <-> vmware <-> windows driver.

As for writing a driver howto - just a google search away. It may seem like a lot at first look but its not rocket science.  You may also want to look at libusb.org if you want just to test quick "talking" with a device from userspace. I use libusb to test the protocol before putting in a driver/kernel.
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11714
  • Country: my
  • reassessing directives...
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #381 on: June 04, 2012, 02:52:18 pm »
This will get you started for sure: http://wiki.wireshark.org/CaptureSetup/USB
looks like only for linux guy. i'm out of luck :(
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline calin

  • Regular Contributor
  • *
  • Posts: 240
  • Country: us
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #382 on: June 04, 2012, 05:04:00 pm »
There are few tools for Windows, look here http://wiki.wireshark.org/Tools#USB_capture . I think it is called usbsnoopy .

I never tried these and have no idea how well they work; but they may be enough; was never tempted to try the Windows tools as Linux makes it so much easier.

BTW, when you sniff USB most of the clients send status packets very often (order of 10-20ms - an Arduino/FTDI dings the host approx each 16ms for example). Small packets but they a really "noisy" and annoying one; typical can't see the forest because of the trees. With Wireshark you can look for these, they are usually very short few bytes only, and filter them out then capture only what is interesting. That will give you a much more decent captured data stream.

 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11714
  • Country: my
  • reassessing directives...
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #383 on: June 04, 2012, 08:00:43 pm »
There are few tools for Windows, look here http://wiki.wireshark.org/Tools#USB_capture . I think it is called usbsnoopy .
no luck there as well. DBGVIEW.EXE report couldnt access device driver. nevermind. also tried rawcap, perharps only for network type usb device (not working with my dds3x25)
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline torch

  • Frequent Contributor
  • **
  • Posts: 397
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #384 on: June 19, 2012, 09:18:55 pm »
how long the drivers will remain compatible with future Windows is anyone's guess.  However, at least we have mecha here to potentially find a fix if that happens.  I've run in on Win7 32 bit, XP, & Vista 32 without issues.

Due to a hard-drive crash, I'm now running it on 64-bit Win 7. The drivers are available on the Hantek website. I installed Goltek, plugged in the 3x25, and installed the drivers via Device Manager. No problems found to date.
 

Offline saturationTopic starter

  • Super Contributor
  • ***
  • Posts: 4787
  • Country: us
  • Doveryai, no proveryai
    • NIST
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #385 on: June 20, 2012, 02:33:19 pm »
This is good to know, and thanks.  I've not had any problems running 32 bit drivers in Vista 64, and worse case I've done it in compatibility mode.  But its best to get confirmation that the Hantek drivers to indeed work.

how long the drivers will remain compatible with future Windows is anyone's guess.  However, at least we have mecha here to potentially find a fix if that happens.  I've run in on Win7 32 bit, XP, & Vista 32 without issues.

Due to a hard-drive crash, I'm now running it on 64-bit Win 7. The drivers are available on the Hantek website. I installed Goltek, plugged in the 3x25, and installed the drivers via Device Manager. No problems found to date.
Best Wishes,

 Saturation
 

Offline voidptr

  • Contributor
  • Posts: 32
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #386 on: June 21, 2012, 12:03:23 pm »

hi
i just read part of this long threat and it seems you did a really good job fixing few bugs :)

@Mechatrommer
i'm wondering if your source code are available, can i dowload it somewhere ?

part of what i might find interesting about this  fcts gen its his sdk i might need to take a look in it :)

 :D
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11714
  • Country: my
  • reassessing directives...
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #387 on: June 21, 2012, 01:34:09 pm »
download the device manual and sdk its all there with program example. i dont think you'll be interesting at my codes.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline torch

  • Frequent Contributor
  • **
  • Posts: 397
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #388 on: June 22, 2012, 03:11:38 am »
Ok, this is strange. I can no longer save a waveform to be displayed on power-up. I installed Goltek, then extracted the 1.04a files over the originals. I can save the waveform with the Hantek software.

When I select "Save Wave on Device Startup" the little red indicator "light" near the USB indicator flashes, indicating it has sent something to the Hantek.

I CAN save a waveform using the Hantek software. If I later try to save a different waveform using Goltek, it erases the stored waveform. To ensure it is not related to the increased bandwidth, I switched to 2kHz frequencies for testing.

If I shut down Goltek (or click the USB symbol) the indicator flashes and the waveform disappears from the scope. If I simply unplug the USB cable, the waveform continues as long as the Hantek is independently powered, but does not reappear when the device is cycled even though I tried to save it. (note: it does reapear if saved with the Hantek software, but not overwritten by Goltek).

I installed the 32 bit drivers from the same downloaded package on an old laptop running XP (32 bit Pro, upgraded to SP3), and have the exact same results, so it's not a 32 bit vs 64 bit or a Win7 issue, as far as I can tell. I'm sure that Mechatrommer had this working. I wonder if there could be some slight change in the drivers -- my original CD is damaged, so I'm using the drivers downloaded from the Hantek website. The 32 bit driver file is dated 06/11/2009 and the 64 bit driver file is dated 08/06/2010 in the downloaded package.

Is anyone else having this problem?
 

Offline torch

  • Frequent Contributor
  • **
  • Posts: 397
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #389 on: June 22, 2012, 11:46:32 am »
Don't put that one on the website!!!

It won't start. Running the program produces the error message "Goltek Controller has encountered a problem and needs to close. We are sorry for the inconvenience." and the typical request to tell Microsoft about the problem (as if they would ever do anything about it anyway!)

I copied just the goltek.exe file and encountered the problem. Then I copied the intmath.dll file and tried again -- no joy. (this was on the Win7 64 bit machine)

So I tried copying goltek.exe alone on the 32-bit XP machine -- same problem. Just to be thorough, I tried copying the intmath.dll too, but again, it just crashes.

I reverted to the 1.04a version of goltek.exe but left the intmath.dll as the newer, larger version on both machines. Goltek starts fine that way. (but of course, will not save the power-on waveform to the Hantek)

EDIT: I forgot to mention that I installed the XP trial from a separate download, just in case the original was corrupted in the download process.
« Last Edit: June 22, 2012, 11:51:55 am by torch »
 

Offline T4P

  • Super Contributor
  • ***
  • Posts: 3697
  • Country: sg
    • T4P
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #390 on: June 22, 2012, 06:13:52 pm »
Mecha, i read the PDF over again and noticed this multiprocessor link thing for more channels ...
I guess ... man the IDC cables are expensive ... running at 10$ each
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11714
  • Country: my
  • reassessing directives...
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #391 on: June 22, 2012, 09:59:47 pm »
Quote
Don't put that one on the website!!!
It won't start. Running the program produces the error message "Goltek Controller has encountered a problem and needs to close
i dont know but its working here. must be your system specific issue.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline torch

  • Frequent Contributor
  • **
  • Posts: 397
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #392 on: June 23, 2012, 12:51:10 pm »
Two completely different systems, actually. An older laptop running 32 bit Windows XP and a newer computer running 64 bit Windows 7. The file was downloaded separately to each system, eliminating corruption. Unless it could have been corrupted when you uploaded it?

The only thing the two have in common is that I am using the drivers downloaded from the Hantek website instead of the drivers that came on the CD with the unit. I don't know if there is any difference as the CD was damaged.

WinXP reports the 32-bit driver provider as "Hantek" and version as "1.00".

Windows 7 reports the 64-bit driver provider as "Windows (R) Win 7 DDK provider" and the version as "6.1.7600.16385 built by WinDDK"

Do you mind if I ask what OS you are using?
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11714
  • Country: my
  • reassessing directives...
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #393 on: June 23, 2012, 03:28:59 pm »
i'm using Windows XP 2002 SP3 32bit Intel Core 2 Quad "crap" :P. i recompile all necessary files for Goltek attached. try running on different folder. i only can produce a loading error when there's not enough startup files, cant remember which i have to track the code again, so i zipped pretty much all that i can think of... also zipped is the original driver from my CD, you'll need DDS-3X25.sys and DDS3X25Dll.dll installed in your WIndows.
http://www.soasystem.com/private/goltek104b_driver.zip
ps: i cant make eevblog attachment, its 8MB.
ps: and also i deleted my previous attachment.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline torch

  • Frequent Contributor
  • **
  • Posts: 397
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #394 on: June 23, 2012, 05:15:51 pm »
Thanks! I'm at work right now but will try this at my earliest opportunity and get back to you.
 

Offline torch

  • Frequent Contributor
  • **
  • Posts: 397
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #395 on: June 23, 2012, 11:01:55 pm »
Ok, first thing I did was to compare the zip contents with what was in my Program Files(86)/Goltek Controller diretory. I noticed some additional files:

mbmputl.dll
mbmplop.dll
mbmpip.dll
soajpg.dll

I copied goltek.exe first, and it crashed as before. Then I started copying the other files, one at a time and deleting them after trial. Copying mbmputl.dll allows Goltek to start. (This is on the 64 bit Windows 7 computer, by the way).  I will now copy the rest of the files and verify that everything seems to be working on both computers then I will report back.

Thanks for all your time on this. Goltek is such a great improvement over the Hantek software!

By the way, I noticed three  extra files (tmarker.rgn rmarker.rgn lmarker.rgn) plus capture.exe in the folder. I assume they are part of the capture program?
 

Offline torch

  • Frequent Contributor
  • **
  • Posts: 397
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #396 on: June 24, 2012, 03:15:22 am »
Ok, with everything installed, it works, but I still cannot save the startup waveform using Goltek. I looked for those two files (DDS-3X25.sys and DDS3X25Dll.dll) in the Win 7 machine.

Switching to the XP machine, I found those two files in the Windows\system32\ folder. I also found a reference in the install log (from the Hantek software):

"Could not Self-Register: C:\Program Files\DDS-3X25 USB\driver\DDS-3X25.sys"

I overwrote everything in the Goltek program folder, uninstalled the Hantek software, reinstalled Hantek, then manually forced Windows to install the older drivers you provided.

I still can't get Goltek to save the startup waveform.
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11714
  • Country: my
  • reassessing directives...
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #397 on: June 24, 2012, 04:36:26 am »
Quote
I still can't get Goltek to save the startup waveform.
please PM me the specific symptom. is it when you clicked the "save wave at startup" any previous wave (at startup) got deleted and the device is not producing anything at startup? in anyway, sorry it wil be hard to tell since its working for my device. or if you really need the startup feature, you may just use Hantek software and dont use from goltek menu. since this is one time setup, it will seldom for you to switch between them for that feature, at least for me.
Quote
By the way, I noticed three  extra files (tmarker.rgn rmarker.rgn lmarker.rgn) plus capture.exe in the folder. I assume they are part of the capture program?
i didnt provide them in recent zip file, you must have downloaded it from my site, its capture program (+ its mask skins) for rigol ds1052e, another tool, but wont make any harm if in the same folder as goltek controller, but i suggest you put it in different folder to avoid mix up.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11714
  • Country: my
  • reassessing directives...
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #398 on: June 24, 2012, 03:12:24 pm »
but I still cannot save the startup waveform using Goltek.
here's another delay combo for goltek. fyi introducing delay to each 3x25 command call will affect sweep mode speed. i dont keep version control, this unrelease ver only specifically try to quick fix your problem (i suspect your unit need delayed command to make it stable). so you have to track which file is which latest or older etc. cheers.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline torch

  • Frequent Contributor
  • **
  • Posts: 397
Re: Review: Hantek DDS 3X25. Anyone own one?
« Reply #399 on: June 27, 2012, 02:04:26 am »
I can't get this one to save the waveform either. I don't know why.

And I discovered that while the Hantek software will load the captured waveform saved from Capture, it mangles it in the process. Aaargh!

Regardless, I owe thanks to Meccatrommer for his efforts to figure this out. Maybe there is something slightly different with the hardware of my 3x25 compared to his. Anyway, I've gone back to the earlier version to avoid any issues with the delay and will just have to use the 3x35 connected to a laptop for custom waveforms. It works very well like that and Goltek is soooo much nicer to use overall!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf