lognplot icon indicating copy to clipboard operation
lognplot copied to clipboard

Saving configuration of signal analysis look'n'feel

Open TimonTerBraak opened this issue 5 years ago • 2 comments

Another feature request: gtkwave features a 'save' file that stores the configuration of the user interface at any savepoint. Restarting gtkwave with a previously saved configuration gives you an identical setup. This is useful for repetitive measurements / introspections, as it may be quite cumbersome to re-configure a complex aggregation of signals and plots. (For the insiders; referring to the embedded debugger UI.) So, I think it would be nice to be able to define a subset of the available signals and store that selection, together with the visualization properties and corresponding plot configuration. The data source may have (slightly) changed, but its values are then projected into the same look'n'feel.

TimonTerBraak avatar Jan 02 '20 21:01 TimonTerBraak

This is a feature high on my bucket list as well.

I see two use cases for save / load:

  • save / load of the signal configuration, you mentioned here
  • save / load of actual measurement data. I'm looking into the HDF5 format for this, maybe this is a proper format which can store also some meta data. This is a seperate feature.

windelbouwman avatar Jan 02 '20 21:01 windelbouwman

Actually, there may be a third type of persistance, tool settings. So we have the following categories:

  • Tool settings (like language)
  • Session settings (which signals are plotted in which panel)
  • Actual data values, a.k.a. the measurement itself.

I implemented a prototype of session save/restore by using a JSON file with the curves of the session.

windelbouwman avatar Jan 20 '20 21:01 windelbouwman