On 8/5/2018 11:12 AM, Bob Jacobsen wrote:
Unfortunately, working with things like CVs has a lot of similarity to low level firmware/machine code. Lots of worrying about individual bits; not enough information on what those bits do!
An experimental approach might work for you.
1) Install JMRI, get it working with your equipment.
2) Read up on how JMRI uses Python for a scripting language (You can also work in JavaScript/ECMAScript, but we have more documentation for Python and more people can help) Then try running some sample scripts
3) Read the jython/OpsProgExample.py script, to see how it does ops-mode programming. It¡¯s nothing like your use case but it¡¯s a start.
4) Create (perhaps starting with jython/OpsProgExample.py) a script that does what you want on forward->reverse; you might want to do this with lots of print statements, etc to make sure it¡¯s writing what you expect, or do part of it on the service track so you can read back.
5) Iterate to success.
Bob
On Aug 5, 2018, at 4:44 AM, crusader27529 <crusader2752939@...> wrote:
I understand the likely complexities of what would need to be done, as I programmed low level firmware/machine code for many years.
What I don't know is how to get started in JMRI......
--
Bob Jacobsen
rgj1927@...
OK, that's what I needed to hear.....Python is the preferred tool......THANKS.