Closed ghost closed 8 years ago
How I start the ARTIQ stuff.
(py35)rabi@688penningA:~/gitlab/nistpenning/artiq$ cat start.bash
#!/bin/bash
pkill artiq
source ~/.bashrc
cd ~/gitlab/nistpenning/artiq
source activate py35
artiq_master --bind 688penninga.bw.nist.gov --log-file master_log.txt&
artiq_ctlmgr --bind 688penninga.bw.nist.gov --server 688penninga.bw.nist.gov&
artiq_gui --server 688penninga.bw.nist.gov&
artiq_influxdb --user-db rabi --password-db cos^2+sin^2=1 --database artiq_penning --bind 688penninga.bw.nist.gov --server-master 688penninga.bw.nist.gov&
Run with "simulate ions" checked. The @kernel code crud and not needed to exhibit the problems with the GUI.
What do you mean by "real-time update of datasets breaks upon stop and restart"?
The rest looks like a pyqtgraph dock bug (which doesn't happen frequently here). Can you comment out this line (which will disable dock layout save/restore) and see if the problem still happens: https://github.com/m-labs/artiq/blob/30842a71743f9fdfe0c7c5aa997c994bbb724326/artiq/frontend/artiq_gui.py#L81
OK. I figured this problem out and the GUI is beautifully stable! The root of the problem lies with initializing new dataset entries. I propose making default a required argument for get_dataset(key, default).
https://github.com/m-labs/artiq/blob/master/artiq/language/environment.py#L224
That way there's always a well-defined result from get_dataset().
I don't understand. The GUI does not use get_dataset
. If get_dataset
raised an exception in your experiment due to the dataset not being present, this should not crash the GUI.
Is that different from #104?
I will look at this again over the weekend.
On Tue, Oct 27, 2015 at 7:55 AM, Sébastien Bourdeauducq < notifications@github.com> wrote:
Is that different from #104 https://github.com/m-labs/artiq/issues/104?
— Reply to this email directly or view it on GitHub https://github.com/m-labs/artiq/issues/158#issuecomment-151503626.
Setup plotting commonhist1* as histogram and default_brightmean* as xy plot. Start and stop both the master and gui several times. Observed behavior
std_include.py
default_std.py