Comments (3)
Hi @v8karlo,
A quick'n'dirty solution is to change line 22 of openhantek/src/docks/VoltageDock.cpp to
#define ATTENUATION 500
and line 62 from
b.attnCheckBox = new QCheckBox(tr("x10"));
to
b.attnCheckBox = new QCheckBox(tr("x%1").arg( ATTENUATION );
I will introduce the 2nd change later into the master branch and make the 1st define selectable via cMake call.
I've already thought and discussed the solution with a drop-down list instead of a single checkbox, but there are so many different probe gains that we would get a huge list, while 95% of all probes are just X1 and X10. (I just added 200 and 500 to my former wish list of 1, 2, 4, 5, 10, 20, 50, 100, 1000... :) )
Another reason is that the Hantek6022 (a low-cost device for beginners and hobbyists) comes with X1/X10 probes and the user interface should supports this without creating further confusion. If I have the need for an X100 probe or even a differential probe, then I am an experienced user and can easily convert the values in my head.
BTW: How was it done in former times?
from openhantek6022.
Thank you for your answer!
My differential probe is HT8100 Hantek 50/500, and I have current probe hantek 10/100. All of those values are Hantek.
Even Hantek is for beginners, I made more than few quite professional jobs with it.
Problem arise when I use differential probe with current probe which I do a lot for math graph.
I can do the old way and calculate, but when using math graph it is far easier if attenuation is of correct value and faster and less errors. In a hurry I can make fatal errors in calculating right readings in my head. Which happened before.
After 6-7 hours of working is easy to make this simple kind of errors while calculating attenuation factors in my mind with 2 different sets of attenuations.
I am not C++ programmer, but C# mostly. I will try your solution anyway.
May I suggest possible solution?
Remove checkBox X1 and checkBox X10.
Put the textBox where user can type value for his probe per channel and button UpdateValue.
(Or without button automatically update using type event of textBox, so only textBox is needed).
When button UpdateValue is pressed, software read value from textBox and use that value in calculations.
That way every user can define attenuation value for his own probe type per channel.
Yes, user has to manually enter the attenuation value when changing probes, but it solves all types of probes depending which one user uses.
At the end, which is easier and most of all safer? (I made lots of errors in past calculating old way.)
To manually enter attenuation value once or to manually calculate value for current probe and value for differential probe and then do the math for power graph every time user use this 2 probes together? Which can be daily at least 200 times at my job, and user can make errors easily in a hurry.
I personally will be glad to enter attenuation value manually every time than make mistakes in calculating attenuation factors old way ever again, which costed me time and money.
No need for long drop down list with lots of values. Let the user type correct attenuation value.
Thank you in advance. Sorry for long comment. I had to explain my reasons.
This software is gem for eyes after struggling with Hantek software. Very good work!
from openhantek6022.
from openhantek6022.
Related Issues (20)
- Low image quality on exports HOT 22
- Improve versioning releases
- Building on Apple M1 silicon HOT 4
- Hantek 6254BD support HOT 1
- No graphics output - windows 10 3.3.2.2 HOT 7
- Program stops on Windows 11 when changing horizontal time base (In demo mode and connected with 6022BE) HOT 14
- MacOS Monterey Firmware Upload Error HOT 5
- QObject::setParent: Cannot set parent, new parent is in a different thread HOT 3
- Failed to open main window with error. QOpenGLFunctions created with non-current context HOT 2
- unable to install HOT 2
- Changing timebase crashes HOT 3
- Pausing roll mode HOT 1
- 32bit version
- [Q] Calibration HOT 5
- Add a new device: Hantek 1070 HOT 1
- No traces seen under v3.3.3 HOT 4
- 'Version' field value 'devdrop-3.3.3-22-g1c3a681-dirty': version number does not start with digit HOT 2
- I want to print 1 or 0 on the bottom of each wave form HOT 2
- Build doesn't work on macOS 13 HOT 1
- Horizontal greyed out HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhantek6022.