Open ekraegeloh opened 8 years ago
@ekraegeloh, a few questions:
Yes to all 3
Michael Marino notifications@github.com schrieb am Do., 17. Dez. 2015 11:22:
@ekraegeloh https://github.com/ekraegeloh, a few questions:
- as far as you can tell, does the data taking of the digitizer still successfully continue?
- is this with Chrome?
- When you hit stop, does the program respond reasonably quickly, or do you actually have to reload the page?
— Reply to this email directly or view it on GitHub https://github.com/nEDM-TUM/nEDM-Interface/issues/45#issuecomment-165409630 .
@stefan789, it would good to know when this happens... are there many channels (or many different channels) being plotted? Is it when the digitizer is reading out at a fast frequency?
Since the program still reacts quickly, it sounds like it's coming more from the plotting of the values instead of the transfer from the daemon...
I can only precisely describe what happened today: I was plotting 5 channels plus fft and amplitude and wanted to de-select 4 of them, it froze with three channels still plotted. selecting only the one channel I wanted to keep and then stopping and starting the measurement again did nothing, display still frozen. started again with the 3 channels selected that were still visible, it worked again, tried to de-select 2, same thing happened, now I settled for plotting those 3 remaining channels.
The way to probably properly fix this (and to handle similar issues in the future), is to enable session-based connections. This would allow, e.g. browsers to be closed once a measurement is started and reconnected in the future. The design for this is relatively straightforward, but would take time to implement and test... This would be good for a student with interest in IoT and web technologies. :-)
sometimes (for various reasons) the display of the digitizer data/the fft/etc. freezes and the only way to get it working again is to stop and restart the measurement (sometimes multiple times) or to reload the page, which also means loosing the digitizer. Can you add a "restart display" button or something like that which doesn't stop the measurement?