I have read through several threads about different applications of using a computer to send TMCC commands to a command base. Here is my situation.
I recently bought a CAB1 and Command Base. The only reason for the purchase was to test a recent locomotive purchase, a 2-rail TMCC engine made by Weaver (2-rail TMCC, that’s a whole other topic). I don’t need to control a whole layout. I just want to set the engine to ENG 1, make it move forward a few inches, backward a few inches, ring the bell and blow the whistle. The loco is about 16 years old, I’m just checking that the electronics are alive.
Problem is, the CAB1 I purchased is dead in the water (extremely bad battery corrosion). Seller already refunded my money, so I’m sending it back in the mail tomorrow.
However, while I have it here, I have a laptop and a USB to Serial converter, so I figured I could just hook up to the Command Base and send a couple signals and be done.
I’m very well versed in JavaScript and VBA and Java, but no idea how to write in C (although I’m sure I’d pick it up quickly). Like I said, not trying for full functionality here.
Ideally I’d like to just enter a couple commands at the MS DOS Command Prompt, but no idea how to write serial out. I’ve read much about programs available, but I was hoping to just write a few lines of code. I read on one thread about some sample code in a drop box, but the post is 3 years old and the link is no longer there.
Hoping someone can point me in the right direction.