¿ªÔÆÌåÓý

Date

Locked Re: engine runs by itself when connected to jmri and sprog

 

Thanks for the info, however how do you turn off the analog on the loco
Jim Volmer Sr


On Sun, Aug 12, 2018 at 4:31 PM Roger Merritt <merritt_roger@...> wrote:
Jim,

? ? Turn off analog on the loco.

Roger


Locked Re: I/R detectors

 

¿ªÔÆÌåÓý

Jon,

?

I used the TCRT5000¡¯s to build across the track detectors for staging. They¡¯re so cheap, I broke them apart with the detector at trackside, and THREE emitters wired in series diagonally across and above the track with 5 to 6 inches between the emitters and detector. In series, I¡¯ve got three times the amount of IR aimed at the detector, with the same current level (and heat) as one emitter. Maybe it¡¯ll work in a reflective environment like you¡¯re using¡­. FWIW¡­

?

Greg Komar

gkomar@...

813-453-0997

"The nicest thing about the future is that it always starts immediately."


From: [email protected] [mailto:[email protected]] On Behalf Of Jon Miller
Sent: Sunday, August 12, 2018 4:10 PM
To: [email protected]
Subject: [jmriusers] I/R detectors

?

??? This may be a little off topic for this group but I need some engineering help.? I'm using some TCRT5000 Infrared detectors (eBay).? When testing a light brown colored underframe the detector will trip at about 1".? However when the underframe is black that reduces to about a 1/4".? [there is more to this story but later if required]

??? My question, if I increase the current to the IR LED (by decreasing the resistor) can I get more range?? It appears the resistor now is around 30mA but the device specs say it could take 60mA.? Maybe take to 45mA!:-\

-- 
Jon Miller
For me time stopped in 1941
Digitrax? Chief/Zephyr systems, JMRI User
SPROG User
NMRA Life member #2623
Member SFRH&MS


Locked Re: Reading a new loco

 

Hi Peter,

Thanks...that was the problem.? Just a new user to Decoder Pro, so I'm still in the learning curve stage.? ?I can read my loco now, throttle still will not work as it will not allow me to activate power.


Locked EPrompt change

Wayne Yount
 

How do you change the Eprompt number in JMRI? It keeps telling me I have the wrong EPrompt.


Locked Re: SE8C - Adding Signal Heads as Turnouts to xml file

 

They¡¯re the high and low parts of the SE8c Head address.

Bob

On Aug 12, 2018, at 5:05 PM, Jeff Scarbrough <fishplate@...> wrote:

Thanks, Bob. Looks like they can be safely ignored. Out of curiosity, is there any rhyme/reason why they get assigned high or low?
--
Bob Jacobsen
rgj1927@...


Locked Re: Multiple turnouts on one address using functions?

 

For a starting point, if you want to try the power of a script before jumping full in, take a look at either of the RocoCrane scripts written by Nelson Allison and Bob in 2009 that are provided in the JMRI/jython part of the installed files.

Look for either RocoCrane46800.py or RocoCrane46902.py but I don't know that there would be any difference in this case.

When you run one of these, a window appears on your screen, and allows you to enter a DCC Loco Address and then click on the Start button. Once that has been accepted, the buttons intended for the crane motion would in part allow you to imitate what you need for your switch actions, but not very well.

With the JMRI NCE: Command Monitor window open, preferably with the Show Raw Data and Show Timestamp boxes checked, watch what happens when you click each of "Rotate Left," "Rotate Right," etc. buttons slowly.

If that provides some small measure of control success, then you might investigate digging further into what a script can do for you. If not, then we need to do more investigation.

From my perspective, what you have done is novel, but as yet unexplored.

Two things to be aware of:

  1. Each DCC Loco Decoder used this way will count as a running locomotive on your NCE or any other Command Station.

  2. If you want to keep these turnouts unavailable for accidentally being accessed with a throttle, give the DCC Loco Decoders addresses in the range from 10000 to 10239 that no throttle can access.

Neither of those will be important for the short term.

Cliff in Baja SoCal


Locked Re: Layout editor and block numbering problems

 

I've just created ?PR #5639: Change "Add Block" sequential names algorithm


Locked Re: Reading a new loco

 

¿ªÔÆÌåÓý

And the settings? ?Are they your command station etc or set to internal?

David Klemm
8 Plus
?


From: 32041023400n behalf of
Sent: Sunday, August 12, 2018 19:20
To: [email protected]
Subject: Re: [jmriusers] Reading a new loco
?
I'm using 4.12 not 4.10? any other suggestions?


Locked Re: Reading a new loco

 

Did you open your preferences and check the defaults tab? Make sure nothing is set to internal.

--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -


Locked Re: Reading a new loco

 

I'm using 4.12 not 4.10? any other suggestions?


Locked Re: I/R detectors

Steve Spence
 

You can increase the current up to max, or decrease the pull up on the phototransistor.


On Sun, Aug 12, 2018, 4:10 PM Jon Miller <atsfus@...> wrote:

??? This may be a little off topic for this group but I need some engineering help.? I'm using some TCRT5000 Infrared detectors (eBay).? When testing a light brown colored underframe the detector will trip at about 1".? However when the underframe is black that reduces to about a 1/4".? [there is more to this story but later if required]

??? My question, if I increase the current to the IR LED (by decreasing the resistor) can I get more range?? It appears the resistor now is around 30mA but the device specs say it could take 60mA.? Maybe take to 45mA!:-\

-- 
Jon Miller
For me time stopped in 1941
Digitrax  Chief/Zephyr systems, JMRI User
SPROG User
NMRA Life member #2623
Member SFRH&MS


Locked Re: Multiple turnouts on one address using functions?

 

Don,

I suspect that you tried saving it to the install location which the OS may have blocked.

I would save the script in your user files location. Select "Help >> Locations" and click on the "Open User Files Location" button. This will open the file manager at that location. Move the downloaded file to this location.

Select "Preferences >> File Locations". Set the "Jython Script Location" to match the "User Files Location". Save and re-start.

Ideally, edit the script with a program editor. Assuming that you running Windows, do not use NotePad or Word. WordPad is OK, but NotePad++ is highly recommended.

When you want to run the script, use "Panels >> Run Script". During testing you will also want to open "Panels >> Thread Monitor", "Panels >> Script Output" and "NCE >> Command Monitor¡±. You may want to add these to the "Preferences >> Start Up" actions.

If you need to adjust the script, use the thread monitor to kill the existing threads before running the script again. The thread names start with ¡°TF4".


Dave Sand

On Aug 12, 2018, at 6:41 PM, Don Babcock via Groups.Io <donbab48@...> wrote:

Dave,

Had a little time today and played with it. Cut and pasted your script into Panel Pro's script entry.

Had to change the Long Address to true - for some reason, I haven't had any luck using short addresses with the TF-4's.

Set teh addresses to 1111 and 1112 - two of the addresses I have and tried to save the resulting script without any luck. I used the store and named it DonTest, and it seemed to save. shut everything down and restarted. From the entry, clicked on Load and can't find it. After a few tries - repeating the whole procedure, I tried a seach of the whole computer - again no success. I'm sure I screwed up something, because if this was a real problem, it would have been found before this.

Any ideas what I'm doing wrong?

TIA

Don


Locked Re: Engine Driver Consists & functions

 

Ok,
That probably eliminates one explanation.

Can you send a screenshot of your Engine Driver throttle page (with the consit selected) to my email address akersp62@...

Thanks
Peter
(Brisbane Australia)?


Locked Re: Multiple turnouts on one address using functions?

 

Dave,

Had a little time today and played with it. Cut and pasted your script into Panel Pro's script entry.

Had to change the Long Address to true - for some reason, I haven't had any luck using short addresses with the TF-4's.

Set teh addresses to 1111 and 1112 - two of the addresses I have and tried to save the resulting script without any luck. I used the store and named it DonTest, and it seemed to save. shut everything down and restarted. From the entry, clicked on Load and can't find it. After a few tries - repeating the whole procedure, I tried a seach of the whole computer - again no success. I'm sure I screwed up something, because if this was a real problem, it would have been found before this.

Any ideas what I'm doing wrong?

TIA

Don


Locked Re: Layout editor and block numbering problems

 

On Sun, Aug 12, 2018 at 09:56 AM, <paul@...> wrote:
If I open the block table and select the 'Add' button I can then add 1 or more blocks. ?If I specify a block system name ?(e.g. IB1 ) and check 'Add a sequential range' I get blocks generated with system names of IB1, IB1:1 IB1:2 and so on. ?If I then edit a track segment on using the layout editor using the edit option on the segment's popup menu and select one of the 'IBx:y' system names as the block name for the block and hit 'Done' the dialogue doesn't close and the system log shows a null pointer exception.
This is the undefined user name problem mentioned by DaveS.

?Conversely if I use the layout editor to create a new track segment and select one of the 'IBx:y' system names in the Block Name: drop down list *(e.g. IB1:3)
Is this the "Block Name" combobox in the editor panel? Playing with this and looking at the code it appears that you have to select the block from the combobox before you create the track segment; if a block isn't selected here then the track segment a assigned to a new block with the next available system name and user names ("IBx" & "AUTOBLK:y").

a new track segment is created OK and assigned to newly created block with 'IB1:3' as the user name, so I now have two different blocks, one with IB1:3 as ?the system name and one with it as the user name. ?At the ?moment I suspect the easier approach is for me to generate a range of blocks with simple IB1, IB2, IB3 numbering manually.
I've never liked the colon separator that's added¡­ I'd prefer that autogenerated names pick the next (numerically) available names; for example: If I input IB3 and autogenerate three more they'd be IB4, IB5 and IB6.
Likewise for user names "Geo" becomes "Geo1", "Geo2" and "Geo3" or "Geo13" becomes "Geo13", "Geo14" and "Geo15" (skipping any names already used).

Thoughts? And¡­ discuss¡­ ;-)


Locked Re: Reading a new loco

 

¿ªÔÆÌåÓý

Brad?

You are set to internal in the options likely. ?Are you on 4.10? ?It had the habit of defaulting to that setting. ?Change the settings and try again. ?Also move to 4.12 or the latest test version, they don¡¯t have this issue.

David Klemm





On Aug 12, 2018, at 18:04, bradburt@... wrote:

When trying to read a loco on my NCE test track, Decoder pro only reads 15227 all the time for different loco's, even different manufactures, and it won't allow you to open comprehensive programmer


Locked Re: Entering New Loco's in DEcoder Pro

 

Open your preferences and go to the defaults tab. Make sure nothing is set for internal.

--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -


Locked Reading a new loco

 

When trying to read a loco on my NCE test track, Decoder pro only reads 15227 all the time for different loco's, even different manufactures, and it won't allow you to open comprehensive programmer


Locked Re: Layout editor and block numbering problems

 

Hey Paul,
If you want to write up the 1st issue (at <I¡¯ll take a look at it ASAP.


Locked Re: Entering New Loco's in DEcoder Pro

 

When I read from the NCE test track on Decoder Pro it comes up with a DCC address of 15227, and it is programmed and works with my NCE power cab as 3023.? Why would it read a different address?