modular-psu-firmware icon indicating copy to clipboard operation
modular-psu-firmware copied to clipboard

Store and manage script settings in profiles

Open fietser28 opened this issue 3 years ago • 0 comments

I would like the possibility for scripts (both micropython and flow) to store there settings inside profiles. Possibly via SCPI commands like MEM:WRITE "name", "value" / MEM:READ "name"

To avoid naming conflicts between scripts and the system AND give a user a way to manage settings in profiles (=delete them): if a script stores variables it gets it's own section (=scriptname) in the profile.

Sections are listed in the profile UI, allowing the user to list and delete them with equivalent SCPI commands. Note: I think only listing and deleting is needed, not editing/createing. That's up to the scripts.

MEME:WRITE/READ should probably work when MEM:STATE:FREEze is 1, because that is the common state scripts are running in?

fietser28 avatar Oct 19 '21 11:10 fietser28