-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes, why the session halts? #41
Comments
Hi, make sure you call dispatchEventQueue() fast enough. |
dispatchEventQueue(100) |
100 means it will block for 100ms and if there is data it will dispatch from queue if no data during 100ms it will then return. PyRFA is thread-safe but not sure what happned as I don’t see your program. Anything in the log file? |
import pyrfa from qpython import qconnection class PublisherThread(threading.Thread): #PublisherThread类为从threading继承的子类
if name == 'main':
|
Once the problem occurred, then the process seems totally halt, no output logs. |
It may have nothing to do with |
Or try |
Thanks, Let me try that. |
I ran the process with dispatchEventQueue() for 2 days, but no halt issue happens. |
Hi, Masters:
These days, I met a issue. Sometimes, the pyrfa session halts to receive data. But this is not always happens, yesterday it worked smoothly without problem. But today, it had been halt 2 times.
At the same time, I check data at TREP with the same RIC, the data is always refreshes. Do you have any suggestion? Thanks!
Regards
Zheng
The text was updated successfully, but these errors were encountered: