Conversation
|
Issues
======
- Added 2
Complexity increasing per file
==============================
- qcodes/utils/loggingGUI.py 3
See the complete overview on Codacy |
| RESPONSE_OK = 'OK' | ||
| RESPONSE_ERROR = 'ERROR' | ||
|
|
||
| from qcodes import config |
There was a problem hiding this comment.
Issue found: Unused config imported from qcodes
|
@eendebakpt @peendebak going through this as it is really relevant to general architecture. |
In the qcodes process a hook an be installed in the logging module with The ZMQ logging hook is automatically started for instruments on a server (see
Note: I do not use the heartbeat any more. By the logging I know the pid of each process, so I can kill them using the normal operating commands or a button in the logging GUI. I suggest we split this PR and add the logging hook (and config system PR308) to master. The heartbeat code can wait I think. |
|
how is your QT button killing the process still via kill pid ? |
Fixes #98, #265 (logging, debugging), #172
Changes proposed in this pull request:
logginghandlers that send messages over ZMQThe PR is not ready for inclusion into master, but before making it complete (docs, tests) I would like to discuss some aspects:
timeoutin therun_event_loopto 5 seconds. This should be made configurable again, but I am not sure about the best with. With the old defaultNone, the heartbeat does not work.qcodesmodule is not loaded in any subprocesses. Therefore to make sure the heartbeat starts in the subprocces I create an instrument likeI am not sure why the qcodes module is not automatically loaded.
@alexcjohnson @giulioungaretti @MerlinSmiles