One button configuration save

🙋 If you want a new feature or a change to the software then add your request here.

If it's not here then it's not going to happen.
gooberpat
Posts: 8
Joined: Wed Nov 29, 2023 5:46 pm

Re: One button configuration save

#11

Unread post by gooberpat »

How is my last post argumentative?
I was tryingto show how software development works - to someone who doesn't appear to know.
Furthermore. I was justifying my request by showing what a simple job it actually is.
I haven't heard anything From Simon, who should be the only opinion that matters.

gooberpat
Posts: 8
Joined: Wed Nov 29, 2023 5:46 pm

Re: One button configuration save

#12

Unread post by gooberpat »

How is my last post argumentative?
I was tryingto show how software development works - to someone who doesn't appear to know.
Furthermore. I was justifying my request by showing what a simple job it actually is.
I haven't heard anything From Simon, who should be the only opinion that matters.

jdow
Posts: 960
Joined: Mon Aug 10, 2020 8:17 pm

Re: One button configuration save

#13

Unread post by jdow »

At the moment I am trying to make sure you and I are on the same page when you talk about saving the configuration. Do you mean something simple like frequency, mode, bandwidth, and maybe audio level? Or do you mean the whole shebang, window positions, all windows and their settings, all the stuff saved as an "Identity"? The latter is what I think of when configuration is mentioned. The former few items may be too simple. You may want more. Please define what you mean. That might lead to solutions. It might not. Simon won't even look at some changes.

It may be that what you want is a single "favorite" configuration saved to a file somewhere you can access easy. Memories save another subset of the whole configuration. Maybe it fits better. I'd check and see if that is what you might want if saved off to a separate file.

Note that there is a limit, inherent in the Microsoft libraries used, to how much can be saved and restored without restarting the software even if to the user it looks like the program never stopped running.

I would note that until you define what you think you are saying I'd not expect Simon to come close to becoming involved. No programmer likes to deal with DWIM, Do What I Mean, situations. The hardest part of programming is defining just what the software is supposed to do - completely, concisely, and accurately.

I will note that if you do mean "everything", then one single file is not in the cards. Too much data is up in the registry and that must be treated differently than the %AppData% material. Something that might enable that is one of my ideas Simon shelved. (I have a piece of program boilerplate I use to save registry data to either the actual registry, a file in %appdata%, or a file in another folder perhaps on a dongle. He's not interested. He has too few hours in a day. And this project is solely his work, which may be why he rejects what I have.)

{^_^}

gooberpat
Posts: 8
Joined: Wed Nov 29, 2023 5:46 pm

Re: One button configuration save

#14

Unread post by gooberpat »

"I think, what we have here, is failure to communicate." (I have wanted to use that quote for a long time.) :)
What I suggested was to save the entries under the setup tab only.
No registry data, no windows or GUI information.
Imagine you are helping a new user by telling him what your current setup is.

You might send an email saying:

Setup, General, H/W Select, "Radio Model" is HERMES LITE
Setup, General, H/W Select, "Region" is United States.
.
.
.
Setup, Audio, VAC1, "Driver", is MME.
Setup, Audio, VAC1, "Input" is Microsoft Sound Mapper - Input.
Setup, Audio, VAC1, "Output" is Microsoft Sound Mapper - Output.
etc, etc, etc

jdow
Posts: 960
Joined: Mon Aug 10, 2020 8:17 pm

Re: One button configuration save

#15

Unread post by jdow »

gooberpat wrote: Mon Jan 20, 2025 7:41 pm "I think, what we have here, is failure to communicate." (I have wanted to use that quote for a long time.) :)
What I suggested was to save the entries under the setup tab only.
We are speaking of SDR Console here, aren't we? I got lost at "setup tab". Options menu selection, yes. Setup no. How did you get to a "Setup tab"? I've not found one in all the years I've been using SDRC.

Some of the proposed data may not be present in SDR Console. SDRC would have to reach into the OS and find the data for a "Region" guess. And "Setup,Audio,...." is insufficient when there are several receivers running at once. Portions of the data are defined in the registry and the %AppData%. For example the "Hermes Lite" selection is in %AppData% while it's data is in the registry.

I'd suggest this is not likely to be something Simon would do. But, if you provide a very detailed description of this concept as you have started doing below Simon might like it. The description should account for SDR features such as receiving 10 simultaneous signals each with different audio outputs selected. The attached image is one of the setups I have here slightly doctored to protect the innocent. This is strictly a mail reading configuration so there is no transmitter information to post. I would imagine you'd want that.

Once you have a good design for the data structure (the hard part) the button itself is really easy to add. The code for gathering and composing the saved data is possibly a modest to annoying activity. But the start must always be with the data itself. I'd suggest storing the data in an XML file. But, that'd be a coding time decision, I suspect. Once you have this post a message to the groups.io list with your data description as an attachment to make it easier to deal with for those who are not interested.

BTW, reading back the saved data into another computer's SDRC would be impractical. Too many other configuration details would differ.

edit - Note how much of the data you want to convey might be present in a screen capture. That is why Simon wants screen captures for bug reports. If Simon gets around to this post it might be of interest to him to somehow add audio output selection to each receiver's pane.

{^_^}
Attachments
Identity3.jpg
Identity3.jpg (1.37 MiB) Viewed 6002 times

Post Reply