Richard, do you have executable/binary you can share? I don't have a C++ compiler newer than Microsoft VC5.
Thanks
I'll be releasing binaries & source in conjunction with each other, and I'll make a source forge project for it when it's reached a usable stage.
It's lacking some key functionality right at the moment, like Triggering, which is at a bare minimum, auto trigger, I have not implemented start and stop acquire, xy mode.
Also, other areas like toolbar glyphs, buttons, main menu items and some display elements are incomplete, and utility features like importing and exporting, saving and restoring GUI settings at shutdown and startup of program, reference waveform channel... All are non functional or incomplete.
I'll compile a release build in a little bit and upload it here if you want to give it a whirl.
Alright, here is the latest binary for those who want to tinker with it...
http://jmp.sh/b/wOS6BUC9tp3Cels8JWf3Note: This is an unfinished pre-release build!
Limitations:
-----------------------------------------------------------
1. Trigger only works in Auto.
2. Horizontal mode limited to YT only.
3. Cannot Stop & Start Waveform (Acquire controls non-functional)
4. No Importing & Exporting waveforms or waveform images (not implemented).
5. Reference channel non functional (due to no importing)
6. Toolbar Buttons & Features incomplete.
7. Some Main Menu items incomplete or non functional.
8. GUI Control settings not saved on application close or restored on startup.
Alright, here is the latest binary for those who want to tinker with it... http://jmp.sh/b/wOS6BUC9tp3Cels8JWf3
Note: This is an unfinished pre-release build!
....
Thanks, Richard K. Just grabbed the zip and as soon as I can, I will give it a go.
Hi,
Very informative thread and thanks to all who contributed!
I was looking for a simple (non soundcard) based scope and from link to link I got here.
I need a scope for measurements in the audio range 10Hz - 20kHz (occasionally 100Khz for SMPS) which as I understand this particular scope is fully capable of. I'm a tube amp hobbyst (but scope newbie) and I need a scope capable of measuring at least 50V AC and 500V DC. I'm OK of modding the unit so my question are:
1/ What mods would you suggest for enabling this scope to measure such voltages
2/ I didn't get if I can measure spectrum with this one
3/ How to isolate it from ground
Thanks in advance.
1/ What mods would you suggest for enabling this scope to measure such voltages
Well, using a 1x probe you are safe up to 50V, using the 10x switch on the probes that come with the 6022BE you are safe up to 500V, and with a 100x probe up to 1000V etc...
2/ I didn't get if I can measure spectrum with this one
Possibly with FFT.
3/ How to isolate it from ground
1. Use a laptop on battery (Not connected to AC adapter)
2. Use a laptop and AC adapter with isolated ground (Ground lead not connected to secondary ground)
3. Use a USB isolator (it has opto isolators for data and an isolated DC-DC for power)
4. Use a mains isolation transformer to power computer/laptop.
Thanks for your help.
I'll be using it on a desktop so I guess an USB isolator will do the job.
Just a quick question on this scope,
In x1, any signals over 5v and under -5v get clipped, is that normal?
Also, that software looks great Richard, thanks
Just a quick question on this scope,
In x1, any signals over 5v and under -5v get clipped, is that normal?
Not quite, the front end has the signal coming in through a capacitor and a 909k resistor then from there another 100k resistor and capacitor to ground (see attachment).
In this configuration, the clamping diodes D3/D2 will only see 10 percent of the input signal, so if in 1x mode it won't start clamping to +5 and -5 until the input signal goes over +- 50V.
That's what I thought...
Is it likely that I've got a faulty unit then? Anything over 5v just becomes a perfect straight line at 5v, so maybe there's something wrong with it?
That's what I thought...
Is it likely that I've got a faulty unit then? Anything over 5v just becomes a perfect straight line at 5v, so maybe there's something wrong with it?
Possibly, you should definitely open it up and see if you possibly have a different revision?
Edit: Actually it might be software, if you are on 5V per division (the highest it goes in software in 1x mode) then the software will clip the signal.
That's probably what it is then... Why is it clipping the signal?
That's probably what it is then... Why is it clipping the signal?
It's the dsoReadHardData function from the HTMarch.DLL, two of the arguments passed to it are the Voltage Per Division for both channels...
HTMARCH_API short WINAPI dsoReadHardData(WORD DeviceIndex, short* pCH1Data,
short* pCH2Data, ULONG nReadLen, short* pCalLevel, int nCH1VoltDIV, int nCH2VoltDIV,
short nTrigSweep, short nTrigSrc, short nTrigLevel, short nSlope, int nTimeDIV,
short nHTrigPos, ULONG nDisLen, ULONG* nTrigPoint, short nInsertMode);
As you can see, they are both Integers and they are not voltages, but selection box indexes, I.E.
//Voltage Division
enum THantekVoltDivision
{
HTVoltDiv20mv=0,
HTVoltDiv50mv=1,
HTVoltDiv100mv=2,
HTVoltDiv200mv=3,
HTVoltDiv500mv=4,
HTVoltDiv1V=5,
HTVoltDiv2V=6,
HTVoltDiv5V=7,
}
That function needs to scale the data it gets to match the vertical divisions of the grid, and they don't accept anything other than those hard coded values, so it's scaling what it reads to -5V to +5V, even if it's higher.
Either the function has to be modified or an alternative written in order to hack in additional Voltages for 1x.
In the mean time, if you want to measure higher than 5V, put the probe in
1x 10x and set the software probe setting to 10x and then select a voltage higher, say 10V or 20V.
Understood, thanks for the help
Actually, sorry you will still need your probe in 10x and software in 10x to measure higher than 5V.
Seems a bit strange... Why is the max input voltage given as 35v then?
Seems a bit strange... Why is the max input voltage given as 35v then?
That's the derated hardware limit, which is actually 50V.... The hardware is capable, but the software is limited.
As of now I am hacking in a 10V mode for 1x, with software 10x attenuation but it won't solve the clipping issues, anything above 5V will get clipped by Hantek's data acquisition function.
Well that's bloody annoying, this scope is a bit of a letdown...
At least I know what it is now though, thank you
...
3/ How to isolate it from ground
1. Use a laptop on battery (Not connected to AC adapter)
2. Use a laptop and AC adapter with isolated ground (Ground lead not connected to secondary ground)
3. Use a USB isolator (it has opto isolators for data and an isolated DC-DC for power)
4. Use a mains isolation transformer to power computer/laptop.
Let me also add one that caught me off-guard.
When trying to isolate your laptop from ground, do not use a KVM or external monitor with your laptop. KVM creates a common ground between all connected machines even if they are OFF and that could be your ground path even if your laptop is on battery.
...do not use a KVM, external monitor, or wired-network with your laptop.
In my case it's just a desktop PC and nothing else.
How about cutting the USB power supply lines from PC to the unit and using a regulated bipolar power supply (wallwart adapter, ground isolated) to power it?
...do not use a KVM, external monitor, or wired-network with your laptop.
In my case it's just a desktop PC and nothing else.
How about cutting the USB power supply lines from PC to the unit and using a regulated bipolar power supply (wallwart adapter, ground isolated) to power it?
You'd still need a common ground for the data, you could buy a USB isolator?
480mbps USB2.0 Isolators can be very expensive
480mbps USB2.0 Isolators can be very expensive
Sadly I don't think there's another way around it, you might be able to build your own and bring the price down a bit?