One further advantage of using things like JMRI or JMRI/CATS is for prototyping the panel. Moving, adding, changing, or deleting controls and indicators are...
Hi Richard, I used a locally sourced 10mm clip at Jaycar (www.jaycar.com.au), part # HP1110 - That's Australia, so after some searching at Digikey, I found...
Andrew or Others I think I got that part figured out. But I do have some other questions. I am using SMC12 which only require a single bit. I have them as...
Hello all, I have completed my UBEC. :) I have a couple of offers for CBACs. Slowly but surely. Thanks to all for the friendly advice on programming. It is...
OK, for what it's worth. If you have SEL81 as a toggle and SM81 as the turnout.... I have found it most reliable to use: If SEL81 = 1 then SM81=1 else SM81=0 ...
Tom Thanks I had thought about the break point but it was dinner time. So now I am back down here. I may just change it like you suggested. And if that...
Tom I changed it and it still doesn't work. So I put a print statement in Print sm81;sm85; sel81; sel85 I saw the proper values. With 81 toggle up and 85...
One thing I do to prevent pulsing is to make sure that a change happens for 2 or 3 reads before actually passing it on to the functional code. But the pulsing...
Tom I did check for additional instances of the variable. That seemed like an answer, but no luck. But still I hear them moving after 30 or 40 cycles of the...
I found it very useful to write a debugging screen that showed useful info when a particular key was pressed (say, Control-D for debugging and Control-N for...
Hi Jay, When I first installed my SMINI cards under the layout, I kept getting block detection dropping in and out all the time. This was odd as the lights on...
To John I do have sort of what you are saying. The screen shows the state of the two toggles and the state of the two switch machine. e.g. 0 0 0 0 if ...
Actually, I wouldn't assume any variable is set to zero.... ever. It would be good to initialize all variables no matter what. If memory serves right (and a...
That works for initialization. You only have to do it at the beginning of the program, outside the loop. (it executes one time) It might be worth a try. Yes,...
I was checking the old messages on the Yahoo group and came across a message I had posted in 2007. Seems I purchased a finished SMNI from someone. And they...
Hello all, I see two problems. I may be wrong but I don't think so. One is if the traces weren't cut for the filters they would be inoperative. After reading...
Jay, I'm a late-comer into this conversation and allot of focus seems to be on input filtering. I use toggles for inputs and no filters without problems. If...
Tim I have checked but will re-check the physical attachments but I do think they are correct, but better safe. That said I think your zero out routine for...
Jay: There is a different approach to variables that will streamline initialization and somewhat in the main loop. You use arrays for the variable rather than...
Here are the settings in JMRI Turnouts Table SM81 CT6008 SM85 CT6011 (not SM83 I should of said 85) Sensors Table SEL81 CS2023 SEL85 CS2018 I use the...
Sorry about the lack of trimming. Anyway I had originally thought of arrays but Bruce suggested I not do that as they are harder to follow. So I didn't. In...
Something else I could do is to copy this program to a new folder. Then remove everything in the modules except needed public statements for the SM and SEL...
Jay: If Bruce is recommending against the arrays there is likely a good reason... A lot of it might be an artifact of older BASIC's with limited variable...
Jim In that regard here is a problem maybe! My switch machines are numbered with odd number that match the toggle numbers and the OS section number which is...
In a message dated 9/2/2011 10:18:41 AM Eastern Daylight Time, ... Dear Jay: You are much better off not using arrays and simply follow the Chapters 24 and 25...