Conversation
|
@giulioungaretti
|
|
I agree with @MerlinSmiles , The snapshot was designed to work for things like this, i.e., saving a snapshot of the last known values and showing them without requiring querying all the devices. I think we should use that as a basis for our monitors, then from there we can work on optimizing communications but I think the format makes a lot of sense as it is now. |
|
@MerlinSmiles I will read this through more carefully. But the monitor is read only, what you mean with " update any values or something in the monitor" ? |
|
@giulioungaretti with that I mean that not much code is required to update the snapshot copy a client has (sorry i said monitor up there). Maybe we have very different views of what a monitor should be able to do. Not sure what you mean with "read only" |
|
@giulioungaretti @MerlinSmiles Many people will want a GUI that also allows them to set values. So making the monitor read-only would make it less attractive. Making some restrictions on setting values is fine, but many of the easy parameters (e.g. gate values) should be settable. |
|
I think setting also makes sense, though I do not like it. If we do support this may I suggest two features on how a set would work.
And ofcourse only support setting for simple values (e.g., Bool, int, float) |
|
@MerlinSmiles @AdriaanRol @eendebakpt I think we need both, but they should be really different! A monitor is just sitting there, showing you some values (maybe right before you start doing something). A (instrument panel, control panel, ?) is also sitting there and showing you some values, but also allows you to set / interact ( sliders anyone ?). There is some redundancy, but that also allows one to choose what to use ! |
|
@giulioungaretti , I think you can go two ways with this. I like to have it as simple as possible given the complexity of the rest of the experiments. I also don't think QCoDeS should try to be a new labview with drag and dropable gui elements. As such I'm not sure if separating the monitor from the control panel is a good idea, that being said the moment you want to go for a more complex control panel it makes sense to split it. |
|
I think the display parts of this spec are now incorporated into the UI requirements. I think being able to subscribe to changes in a particular parameter (or a set of parameters) (or in the entire snapshot) is a useful feature, though -- and probably required for the UI to function. Perhaps a simpler spec here would suffice:
Is this enough? |
Codecov Report
@@ Coverage Diff @@
## master #534 +/- ##
=========================================
Coverage ? 65.16%
=========================================
Files ? 221
Lines ? 29832
Branches ? 0
=========================================
Hits ? 19441
Misses ? 10391
Partials ? 0 |
Uh oh!
There was an error while loading. Please reload this page.