1
0
forked from M-Labs/artiq
Commit Graph

179 Commits

Author SHA1 Message Date
David Nadlinger
bdaaf3c1d7 dashboard: Disable Group CCB policy menu before first entry is selected
It was possible to crash the dashboard by opening the context menu
before an applet entry had been selected for the first time (e.g.
immediately after startup) and selecting one of the Group CCB
actions, as the enable update slot would not have been run.
2021-03-21 02:04:24 +00:00
Leon Riesebos
3b2c225fc4 allow dashboard to close if no connection can be made to moninj
Signed-off-by: Leon Riesebos <leon.riesebos@duke.edu>
2020-12-04 23:00:23 +08:00
89c53c35e8 dashboard: style 2020-06-26 10:12:03 +08:00
David Nadlinger
f36692638c dashboard: Add "Quick Open" dialog for experiments on global shortcut
This is similar to functionality in Sublime Text, VS Code, etc.
2020-06-26 10:11:33 +08:00
Charles Baynham
692c466838 Use logger formatting 2020-05-26 17:59:55 +08:00
Charles Baynham
8858ba8095 dashboard: Restart applets if required
Restart applets that are already running if a ccb call updates their spec

Signed-off-by: Charles Baynham <charles.baynham@npl.co.uk>
2020-05-26 17:59:55 +08:00
3fd6962bd2 use sipyco (#585) 2019-11-10 15:55:17 +08:00
0b9168994f Revert "dashboard: Sort TTL moninj channels by name"
This reverts commit b3db3ea6fc.

Closes #1288
2019-09-06 11:17:10 +08:00
c56c3e5588 dashboard: add support for experiment pipeline/priority/flush defaults 2019-03-12 10:54:15 +01:00
David Nadlinger
b3db3ea6fc dashboard: Sort TTL moninj channels by name
With growing system complexity, the moninj channel index is
no longer a very intuitive ordering for typical end users.
2019-03-11 03:30:14 +01:00
2de1eaa521 dashboard: reconnect to core moninj
* handle disconnects like core device address changes and do a
  disconnect/connect iteration
* after connection failure wait 10 seconds and try again
* this addresses the slight regression from release-2
  to release-3 where the moninj protocol was made stateful
  (#838 and #1125)
* it would be much better to fix smoltcp/runtime to no loose the
  connection under pressure (#1125)
* the crashes reported in #838 look more like a race condition
* master disconnects still require dashboard restarts

Signed-off-by: Robert Jördens <rj@quartiq.de>
2019-02-08 23:52:16 +08:00
53c7a5f2c6 dashboard: fix TTL moninj level display 2018-09-26 10:32:08 +08:00
47740c8930 share moninj injection state between dashboards
Previously if one dashboard overrode a channel this was not visible on
any other dashboard - the channel appeared to operate normally.
2018-08-02 19:34:14 +08:00
3027951dd8 integrate new AD9914 driver
moninj, analyzer, docs, examples, tests.
2018-05-13 23:29:35 +08:00
c3f763e217 dashboard: also create monitoring widgets for the Zotino class 2018-03-25 11:19:40 +08:00
3a0dfb7fdc ad53xx: port monitor, moninj dashboard, kc705 target 2018-03-24 16:04:02 +01:00
David Nadlinger
c3c13da1a6 dashboard: Restore minimized experiments when trying to open them again
When the user tried to open an experiment from the explorer that
already existed, previously "nothing would happen" (focus change
without the window being restored).
2017-12-15 19:11:09 +00:00
dc9327e056 dashboard: handle device dependencies in moninj 2017-10-26 14:33:49 +08:00
c98fe70cfa dashboard: resize moninj widgets to fit titles 2017-10-26 12:02:15 +08:00
e80a527f2e dashboard: add DAC monitoring widgets 2017-10-26 02:26:59 +08:00
2998372d08 browser,dashboard: delete MDI subwindows when they are closed 2017-07-29 20:36:38 +08:00
whitequark
4e5ea1bbaf dashboard: fix a crash touching moninj without a connection. 2017-07-04 17:53:48 +00:00
e4a631a3d7 scheduler: consider the pipeline flushed if everything has a lower priority than us. Closes #640 2017-05-22 18:43:59 +08:00
5ccca74a3f fold comm device into core device 2017-05-22 15:45:45 +08:00
7d6ebabc1b reorganize core device communication code 2017-02-27 18:37:30 +08:00
e64d923a67 dashboard: fix moninj display refresh issues after mode changes 2017-02-27 17:56:45 +08:00
b8bfcd2d7e moninj: share probe/override numbers and use Enum 2017-02-27 11:54:16 +08:00
26654e6a3a moninj: Python-side fixes 2017-02-27 11:45:04 +08:00
96bf414257 dashboard: use new moninj protocol 2017-02-27 00:59:31 +08:00
639066c6d8 Add tooltips to experiment arguments 2017-02-03 17:53:40 +08:00
696db32603 dashboard: mention disable in CCB policies 2016-12-01 11:47:04 +08:00
whitequark
f4b7666768 coredevice.dds: reimplement fully in ARTIQ Python.
This commit also drops AD9858 support from software.
2016-11-21 15:13:26 +00:00
8ec73cb9ec dashboard: pack moninj widgets (#603) 2016-11-04 16:20:46 +08:00
02adccf4a2 dashboard/datasets: use scientific spinbox and increase number of decimals, closes #572 2016-10-17 19:57:59 +08:00
2d6171e8c4 dashboard: make state restore failure on experiment opening non-fatal 2016-09-21 19:23:06 +08:00
f010a74479 dashboard: remember experiment editor scroll positions 2016-09-14 10:53:24 +08:00
55363e2ff9 dashboard: save/restore MDI window states when they are closed. Closes #559 2016-09-14 10:53:24 +08:00
89417a47b2 gui: use bare QSpinBox for integer NumberEntries. Closes #558 2016-09-14 10:53:24 +08:00
82fbd3e9c9 doc: CCBs, applet setup from experiment 2016-09-09 23:25:29 +08:00
811f123a17 applets: add disable_applet_group 2016-09-09 13:12:10 +08:00
769b1e2393 applets: fix ccb group creation 2016-09-09 13:08:30 +08:00
4bdbc5b259 applets: use a different workaround to disable editing
True to itself, Qt did not miss the opportunity to trash widgets inside
QTreeWidgetItems when they are moved by drag-and-drop. Problem known for
more than 6 years and still not fixed as of Qt 5.7.
2016-09-09 12:55:01 +08:00
6144839beb applets: support group-level CCB policies 2016-09-09 11:38:55 +08:00
615807afb4 applets: fix indices 2016-09-09 11:16:43 +08:00
ebb0ba17f5 applets: separate create/create+enable CCB policies 2016-09-09 10:02:32 +08:00
b982832ddc gui/applets: support passing command line arguments to code applets 2016-09-07 00:56:39 +08:00
996dfcafc6 dashboard: fix 'disable other scans' 2016-09-06 22:50:12 +08:00
56e3c80623 dashboard: support for code applets 2016-09-06 22:38:34 +08:00
e45c089428 master, dashboard: support applet requests from experiments 2016-09-05 00:53:44 +08:00
dbc08bde8a gui: fix layout and scan disable bugs with argument recomputation 2016-09-02 10:50:25 +08:00
ef2195fe68 dashboard: fix argument recomputation for experiments outside repository. Closes #548 2016-09-02 08:30:42 +08:00
b7151a253f gui: improve search of hierarchical datasets. Closes #258 2016-08-14 18:33:24 +08:00
0963b07774 dashboard: remove vestige of status bar. Closes #517 2016-07-19 00:01:59 +08:00
dd349b0701 dashboard: simplify dataset editing code 2016-07-03 12:23:56 +08:00
ea13d00087 dashboard: preserve argeditor state across argument recomputations. Closes #486 2016-07-01 15:23:40 +08:00
b769403667 dashboard: larger experiment initial window size 2016-06-19 09:31:19 +08:00
b3b0e19d21 dashboard: compute initial experiment window size from font metrics 2016-06-19 08:50:38 +08:00
ae914d2611 dashboard/experiments: look improvements 2016-06-18 18:55:25 +08:00
80cf321233 dashboard: do not use Qt recursive event loop 2016-06-18 14:34:23 +08:00
9a1cad5cec dashboard: basic dataset editing capabilities 2016-06-17 16:45:26 +08:00
60657c30b0 dashboard: add button to disable other scans 2016-06-15 19:06:04 +08:00
490bb6ef2d gui: save/restore last folder outside repository. Closes #476 2016-06-12 13:18:22 +08:00
6db96f81d5 gui/moninj: reduce logging level of UDP failure 2016-06-04 16:33:56 -04:00
c49be807e4 gui/moninj: do not crash when there is no network 2016-06-04 16:31:17 -04:00
6983f3520a explorer: fix directory listing error handling 2016-06-04 10:18:29 -04:00
ab749560c2 dashboard: forward local log messages to docks, replace status bar (#411) 2016-05-28 11:10:25 -05:00
b3e55b753b environment,dashboard: generalize multiple defaults, fix HDF5 argument load 2016-05-24 08:58:34 -05:00
7a71939201 dashboard.log -> gui.log 2016-05-20 16:12:11 +02:00
904db4923c dashboard/experiments: style 2016-05-08 18:14:01 +02:00
c5fcb6b8d5 dashboard: use get_open_file_name 2016-05-08 18:14:01 +02:00
77b84a7979 browser: move exp mgmt to mdi area 2016-05-07 12:53:37 +02:00
d99d19dd3a browser: stubs for experiment editors 2016-05-07 12:53:37 +02:00
597d7c389e dashboard: support reloading arguments from HDF5 2016-05-05 00:51:30 +08:00
de73bd1998 gui/moninj: sort by channel. Closes #413 2016-04-30 10:46:56 +08:00
7d590afd73 dashboard/moninj: use ephemeral UDP port 2016-04-11 18:54:25 +08:00
dbba41b042 dashboard/moninj: fix windows problems 2016-04-11 18:49:57 +08:00
d9e918be49 dashboard/moninj: use thread instead of asyncio UDP (#39) 2016-04-11 18:09:41 +08:00
1690cb11b3 dashboard/moninj: remove debug prints 2016-04-11 17:17:20 +08:00
7e2e182315 put dashboard-specific files in separate directory 2016-04-06 15:45:02 +08:00