General > General Technical Chat
Review: Hantek DDS 3X25. Anyone own one?
marmad:
@mecha
I create a CSV file in Arb Express of exactly 4000 points with 2 cycles of a square wave - I open Goltek, switch to ARB, and set the frequency to 25kHz or 50kHz (both 4000 point settings for Hantek). I read my 4000 point CSV into Goltek and it resets the frequency to 62.5kHz?
Also, the name of the CSV file you've loaded should be displayed somewhere; i.e. good file handling practice, etc.
TT89:
Here is the pictures that I promised Mecha.
In the Interface picture, sine waveform setting seems to produce only some kind of spikes. Those spikes seem to follow the frequency setting though. (Spikes seem to be at the location where the sine wave's peaks supposed to be.)
The other photos show what the waveform looked on my scope.
A closer looked shows that those spikes are pretty nicely formed square wave pulses.
And on a side note, now that I noticed, don't mind the volts setting... wrong attenuation setting. :P
These spikes only come after the program restart after the first start it creates those waves.dat and waves.ini files.
Dunno if this helps anything, but I hope it does.
Mechatrommer:
--- Quote from: marmad on August 17, 2011, 08:52:09 am ---1) I create 4000 points with 2 cycles, I open Goltek, and set the frequency to 25kHz or 50kHz (both 4000 point settings for Hantek). I read my 4000 point CSV into Goltek and it resets the frequency to 62.5kHz?
2) Also, the name of the CSV file you've loaded should be displayed somewhere; i.e. good file handling practice, etc.
--- End quote ---
1) during each csv read. the program will calculate the data "natural frequency" i may call it, and put it in the freq parameter. ie freq = clock / number of points. so from your info, the clock in your csv file is 250MS/s. duh, should i disable that? and leave your input freq as is during each csv read? vote anyone? i like it that way ??? workaround (step) is load any files that you like, set your desired freq (after program reset it to natural freq), and save it in memory button if later you want to load another file. loading from memory button wont reset to natural freq, but to the last set/saved frequency (popped up in tooltiptext, refer to (2) below). i designed this app with capability to replay/replicate exact arbitrary waveform that we've captured/created somewhere, not just as "classic" signal generator that we used to have for centuries. since tektronix csv format provided clock info, so i think i want to use it in the app... what do you think?
2) refer to pic below. in the app, below the simulation windows, there's io info (2 lines green text) top showing output frequency and #points that sent to/produced by hantek (estimation using your algorithm), below that, is the input file name (#points read from file), since its very little space, long filename will be cropped out of view, solution is hovering your mouse on the info text, the full text will pop up (tooltiptext), you can do the same with any wave and memory buttons. it will show [wave id], [filename], [latest set freq]. wave id is the 7 wave buttons there, 1=sine, 2=square ... 7=arb. recalling any memory button will switch the "wave button" to its id. hence let say you are playing with sine wave (id 1), and then later load memory button whose id is 2, then dont be shocked if your "square" wave button (id 2) turns green, and sine button deactivated grey! :P
hint: if you want to play with classic wave (sine, square, triangle, saw etc), i suggest load your best csv wave file into those 4 top buttons, lock or unlock the frequency setting if you like (your wish granted replacing beep setting in util) and play. but if you want to play with things like radio, noise generation, and any other arbitrary data, then i think you should concern of the famous sampling equation: clock = points * freq, which is what the hantek is designed for... arbitrary, not just simple wave generator which only concern freq alone... is that sensible?
and not to forget, if arbitrary wave replication is your concern (like my current project), you should care to click the "force clock" mode in util menu. and see how the program will try to match the clock and number of points from your csv file to be generated by hantek (marmad's estimation, or law? is the golden rule here!). 2 mode, boost and non boost, further info... pls refer to the help file (click the yellow goltek name topmost the app) or utility help. there also different downsampling method/fix for square and sawtooth (for extreme rise/fall time signal) briefly explained in easter.htm, i'll find time to update those. cheers ;). for now i think i'm tired coding/typing, need some rest :P want to sneak a peek on my halted project before and using goltek for it, who knows i may find more bugs while in "real application". will keep fixing and using and fixing, as always...
@TT89: we'll look into your problem. i suspect you have different number system set in your OS. the same case different dpi monitor resolution as Torch had before. i admit thats my limitation, i'm not pro programmer and i never program global level compliance software, was only for myself and still is :P
marmad:
--- Quote from: Mechatrommer on August 17, 2011, 12:59:22 pm ---should i disable that? and leave your input freq as is during each csv read? vote anyone? i like it that way ??? workaround (step) is load any files that you like, set your desired freq (after program reset it to natural freq), and save it in memory button if later you want to load another file. loading from memory button wont reset to natural freq, but to the last set/saved frequency (popped up in tooltiptext, refer to (2) below). i designed this app with capability to replay/replicate exact arbitrary waveform that we've captured/created somewhere, not just as "classic" signal generator that we used to have for centuries. since tektronix csv format provided clock info, so i think i want to use it in the app... what do you think?
--- End quote ---
Workaround is fine for me... just wanted to report the behavior it case it wasn't planned.
--- Quote ---2) refer to pic below. in the app, below the simulation windows, there's io info (2 lines green text) top showing output frequency and #points that sent to/produced by hantek (estimation using your algorithm), below that, is the input file name (#points read from file), since its very little space, long filename will be cropped out of view, solution is hovering your mouse on the info text, the full text will pop up (tooltiptext)
--- End quote ---
My bad... I didn't see that! :P
--- Quote ---for now i think i'm tired coding/typing, need some rest :P want to sneak a peek on my halted project before and using goltek for it, who knows i may find more bugs while in "real application". will keep fixing and using and fixing, as always...
--- End quote ---
Take a break, my friend. You've earned it... excellent work! ;)
Mechatrommer:
i think (as mentioned) i want to take a rest from goltek dev a while to make room for other stuffs (and night sleep :P) except if there's bug report coming in (PM invited). if anyone interested in the source code (VB6) i can share it but not as freely, i only share to "Full Member" status with "usefull" contributions (review, advice info etc). the reason, i dont want rigol and hantek people come in and just copycat my code because its so damn good :P (and they are so poor) and trust me, nothing interested in there, just a strangled bunches of messy codes try to cope with the messy GUI... mostly. and @marmad, thanks pal, you've given your piece of "gem" in that software.
edit: and not to forget to onlooker previously, for publishing "partly" usefull data.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version