-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CV programming #48
Comments
This is strange. I added this, or thought I did the same day I input the bug report for return values not coming back from the serial monitor. Maybe I forgot to save it? Oh well, I need to see if there was anything else I intended to add and lost. I remember I was asking about how to handle the programming. Should we have some buttons for standard programming like loco address, CV29, etc. so they can be in a "quick access" table? Then just allow "CV VALUE VERIFY" and the user just enters what they want? I don't see a way to do a table, though I guess we could of every possible number on a page. You could do like JMRI and read every CV and see which ones return. Thoughts? |
CV level programming is OK. We can have UI similar to JMRI. User can have button to read current CV value and button to Write (overwrite) desired value. And have buttons to Read All and Write all. @FrightRisk How many CVs will be available? NMRA standards etc..I do not know about these rules & limitations.. We need to introduce page for Programming and get this UI ready. On the other note, we should focus first on Turnout data and how to use them with in Throttle page. |
Rather than repeat the spec, I'll point to it and we can discuss. Basically, we have CVs from 1-1024. There is a method for extending them to allow for for 65,537 CVs. I think for starters, we just handle 1-1024 as normal CVs. |
@FrightRisk thanks for that! I know very little about CVs (I have only changed the address and acceleration of my decoders!), so I will make sure to have a look at that... |
I think we can start with the following regarding CVs. We can't just say "adjust volume" or "change to bell number 3" because things are so non standard. JMRI gets around some of this by maintaining a list of 100s of decoder definition files for all those locos. We could copy those, but I am thinking simple is better. People need to get out their loco sheet and look at the table and then just put in a number. JMRI has a "single CV program" screen and a "program sheet" with all the CVs on it. So you can read an entire page worth of CVs and save the values if you want for that loco. Again, just having the ability to program would be a big deal, it doesn't have to be fancy now. It could even be just a box to enter the cv, a box for the value and then a read and write button. What we know: 1-46 and 65-112 are standard for the most part. |
@FrightRisk @ManiAkasapu I have added a blank CV programming page to the features/cv branch |
Just remembered we are lacking this.
This is a crucial part of a DCC setup, so we should probably try and implement it sooner rather than later...
The text was updated successfully, but these errors were encountered: