sigrokproject / pulseview

Read-only mirror of the official repo at git://sigrok.org/pulseview. Pull requests welcome. Please file bugreports at sigrok.org/bugzilla.
http://sigrok.org/wiki/PulseView
GNU General Public License v3.0
488 stars 156 forks source link

Assign generated signals a unique name #52

Open ramonfelder opened 2 years ago

ramonfelder commented 2 years ago

When saving a session setup, the trace view refers to signals using their internal_name(). Without this change, internal_name() would return an empty string for all generated signals. This leads to name collisions in the session settings file.

ramonfelder commented 2 years ago

Let me know if you prefer some other mechanism like numbering all generated signals just before a session setup is saved.

FYI: I'm also working on a feature to save/restore a complete trace tree including signal groups and vertical positions. This will also depend on some kind of unique identifier for all signals.