Comments (4)
So I started again.
-
Removed my local clone of openhantek (rmdir ~/openhantek)
1.1. install a git clone from openhantek again (same place)
-
downloaded the binary of cmake 3.5.2 to /opt
curl -sSL https://cmake.org/files/v3.5/cmake-3.5.2-Linux-i386.tar.gz | sudo tar -xzC /opt -
cd into ~/openhantek ; mkdir build ; cd into build
-
/opt/cmake-3.5.2-Linux-i386/bin/cmake ../ # no errors this time
-
cd into ~/openhantek/build/openhantek to execute the binary ./OpenHantek
Getting the following output:
Version
QObject::connect: No such slot OpenHantekMainWindow::sendCommand()
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Hantek::Control(0x99e37c8), parent's thread is QThread(0x989a7f8), current thread is Hantek::Control(0x99e37c8)
22:54:28.903: Sending bulk command: 07 00 0a 00 00 00 00 00
22:54:28.904: Sending bulk command: 0b 00 02 00
22:54:28.905: Sending bulk command: 0c 00 02 00 00 00 00 00
22:54:28.907: Sending bulk command: 0d 00 01 00
22:54:28.908: Sending bulk command: 0e 00 02 00 f7 ff 00 00
22:54:28.909: Sending bulk command: 0f 00 ff ff 07 00 ff d7 07 00
22:54:28.911: Sending control command b4: 00 46 00 4d 00 7f 00 00 00 00 00 00 00 00 00 00 00
22:54:28.961: Sending control command b5: 00 04 f7 fd 20 bf ef 01 00 00 00 00 00 00 00 00 00
Segmentation fault (core dumped)
I when to https://sourceforge.net/projects/openhantek/ (older version)
Complied from source using qmake (qt5) and got screen of the GUI, my DSO-2250 clicks when changing voltage levels but to output.
I would appreciate any help from openhantek community.
from openhantek.
Now the strange "facts".
I found this page:
http://verahill.blogspot.com.br/2012/12/298-hantek-dso-2250-usb-with-openhantek.html
The instructions told me to first install dependence packages with:
sudo apt-get install libqt4-dev libfftw3-dev qt4-qmake fxload libusb-1.0-0-dev libbfd-dev
but I had all already installed (just to be sure, check using dpkg -l <package list>
)
Then I downloaded the project (older version - I believe 'patched' for DSO-2250) with:
svn checkout http://svn.code.sf.net/p/openhantek/code/trunk openhantek-code
then go to the directory created:
cd openhantek-code
Take additional care by using the correct 'qmake' version, which is qt4 (not qt5)
You can check your versions installed to find the qmake(qt4) binary, using:
locate -b '\qmake' | xargs -ri find {} -prune -type f -executable
Since I have two versions installed I need to issue:
/usr/share/qt4/bin/qmake
(I had to use the 'locate' result for the path)
At the end of qmake 'no errors', just a slient ending (just the prompt returned)
Then I proceded to the 'make' with:
make
which also ended with no errors messages. Great! So there must be a binary.
cd bin
execute the binary with (because I did not 'install' it yet):
./openhantek
And the GUI pop-up on screen! Hurray! It worked!!!
Please note that I had already installed the firmware part (please check instructions).
And, by the way, the only firmware extraction source that I was able to build was using:
After downloading it go to the directory and build it with:
./configure
make
Than put the DSOxxxx1.sys (windows driver file - check instructions) in the same directory and issues the command:
./openhantek-extractfw DSOxxxx1.sys
Be aware that the name of the resulting files must be the same as used in the file: "90-hantek.rules"
Also now it worked again!!! Two files produced. Remember, follow the instructions....
So my question to OpenHantek community is: why is it that the project participants here are making it so difficult for the unskilled users to 'make' this a simple and usable piece of software ?
I believe that the original goal of GNU and FSF is to make software accessible to everyone, is to get the job done, is to empower the people, and to make things simple. Cheers!
Now how can I get this newer version, available here, to work?
from openhantek.
Dear Oliver Haag,
First, my compliments: you are a "master" coder!
Please excuse my english. Thank for your work and for the promptly answer.
Just to add more (debug) information here, I just noticed now with my "tests" with the sf.net.svn version that worked that the voltage level looks good (needs calibration), but the FFT function is unstable (crashes). I can get only a quick image of the FFT output that immediately vanishes (because of the fading option selected). I have to click on the FFT CHx bottons many times in combination with others to make it show the quick image overlay.
My console outputs this:
~/openhantek-code/openhantek/bin$ ./openhantek
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Hantek::Control(0x950f3d8), parent's thread is QThread(0x939b0b8), current thread is Hantek::Control(0x950f3d8)
Also the "record length" in the "Roll" option is unstable. If you change it (to the other two choices) and return to "Roll" position again the signal image is incorrect, and you cannot return to the sample rate (less options). You need to restart the binary to recover with all channels unmarked.
So I conclude that I have still issues with even the sf.net.svn (i.e. 0.2.0x version), or I my be having problems in the build process for my installation layout (or dependencies).
I really would like to avoid the VirtualBox solution. So I need help.
Following what @OliverHaag said, if I can make a suggestion, we could have a directory with working versions/releases (tar clones and also binaries for the main distributions - i386 and 64bits) which I believe would better help the community that only needs a working version for faster results.
Also a good wiki to help newbies with step-by-step instructions (not to say also as a reference to developers to keep build and dependency history for each release). Sorry, but we "engineers" like to bring order, to chaos theory.
A good add-on would be to have a "plugin" subsystem, which the community would help build by making new functions for the openhantek project, I believe would be a greater success, and permit a more stable core.
from openhantek.
I'm not really working on OpenHantek myself anymore and didn't try the github master for some time. @davidgraeff should have a better overview here but I would really prefer to keep the master branch clean and in a buildable and useable state at any time (like the old one on sf.net svn was) for the reasons @braselectron mentioned.
from openhantek.
Related Issues (20)
- Failed to compile OpenGL shader HOT 1
- DSO-2090 USB - EXT and EXT/10 trigger not working. HOT 2
- DSO-2090 record length greyed out on box power up. HOT 2
- Firmware is not written to Hantek6022BE when installing the driver HOT 4
- Will not build for MacBook Air M1 user Rosetta2
- Grid are not visible in High definition HOT 1
- (Wrong) vertical scale HOT 4
- axis labels HOT 3
- record long session HOT 1
- windows bin? HOT 7
- Does not appear attenuation HOT 4
- Gain calibration file for WIndows 10 HOT 2
- Refresh Button gone? HOT 2
- Decoding CAN and LIN HOT 3
- Can't connect DSO2D15 HOT 6
- Default screenshot location is C:\Windows\System32 HOT 4
- Hantek 6074be HOT 1
- Releases page is empty, Windows binary deleteld. HOT 1
- Demo mode does not display any traces HOT 2
- openhantek 3.3.3. don't recognize DSO2D15 HOT 1
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 openhantek.