signal-stream | encrypt and decrypt streams with signal-protocol | Encryption library
kandi X-RAY | signal-stream Summary
kandi X-RAY | signal-stream Summary
encrypt and decrypt streams with signal-protocol
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of signal-stream
signal-stream Key Features
signal-stream Examples and Code Snippets
Community Discussions
Trending Discussions on signal-stream
QUESTION
I'm new to GUI-programming and need help with a QThread application.
I designed a GUI-Programm which records a Signal from the microphone and plots it in a Figure at the same time. Now I want to evaluate the signal in another thread, so it still records and plots in the GUI. The streaming and plotting works fine but everytime I start the thread the GUI freezes and then exits. Does somebody know what I did wrong in my code, I don't have that much Programming-experience?
...ANSWER
Answered 2017-Sep-12 at 13:18After a little trying out different things I found a sulition. So the Problem was indeed the QApplication.ProcessEvents-part. This is for completing loops in PyQt, but mine is a endless loop, only stopped after a button-klick. This is why the GUI froze everytime I used it.
The solution now, was to put the plotting part also in a new Thread, which can access the GUI-window.
Here is the new code, which works fine and reasonable fast:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install signal-stream
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page