开云体育

Date

Locked Re: 1.0.3 control panel

 

At 11:53 AM -0700 8/8/02, Robin Becker wrote:

> Does the panel start minimized (nothing by header)? Or is it
bigger than that.
It isn't minimized. Seems to be about 150x150. Resizing one time (small or
larger both work) fixes the problem.
Thanks. I'll look into it. It seems to be a Windows-specific (or at least not on my Mac), so I'll have to wait a couple days until I get home.


>
I think that's the same thing. There's a missing file, and code gets
confused trying to cope.
Well I created two missing upper-left files, unknown and error, and made a
new panel. Same problem. However, if I manually edit the panel file and
make the changes (upper-left and thrown where appropriate), then it displays
correctly.
Sorry, should have been clearer. The code that code confused is one of my tools, which generated the Java for the panel editor wrong. It's fixed now.

Bob
--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)
At CERN until August 10, replies may be slow.


Locked Re: 19.2 Kb

 

At 10:41 PM +0200 8/8/02, Sip Bosch wrote:
Bob, magician,

Installed the new installer and it runs
like a rollercoaster. Thanks a lot.
"Runs like a roller coaster" is good, right? I have this mental image of the program zooming downhill while everybody screams...

When I first moved to France a while back, I was fond of the expression "Best thing since sliced bread". It took a couple of weeks for me to realize that most people listening thought I meant that something was a dumb idea when I said that.

Will work on the Zimo line of decoders.
Great, let me know if I can help.

Bob

--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)
At CERN until August 10, replies may be slow.


Locked CVP's AD4 Decoder

original_black_bart
 

Bob,

I've had an opportunity to test functionality of the AD4 file.
Programming via a Digitrax DB150, readback via PR-1. Values are sent
as expected. In reviewing the fle, I've noticed a few that
programming is permitted via paged mode. This needs to be changed as
the AD4 doesn't support such.

Trusting that it's okay with you and the readers of this NG, I'm
going to tinker around with the XML file to see if I can't format the
display a little better. For example,; indication of time in 1/10
seconds when setting a pulsed signal. Should be able to review and
respond on htis by Saturday.

BTW, the newly added Log Curve on the speed table is awsome.

Bob


Locked 19.2 Kb

 

Bob, magician,

Installed the new installer and it runs
like a rollercoaster. Thanks a lot.
Will work on the Zimo line of decoders.

Sibbo


Locked Re: problem compiling source code

sixth_rule
 

Ok i downloaded Jbuilder Personal edition and don't really know what
to do next
i read your instructions on Jbuilder on the technical page
here is where i get lost.

In the project directory, do a CVS checkout of the "jbuilder" module
from our repository. This will create a "java" subdirectory where the
JBuilder IDE will run, and load it with source, tests and resources.
It will also create and populate directories for xml and libraries in
the project directory.

what is a CVS checkout. and what repository all i found was the
source code snapshots on your technical page

thanks
Chad Spickett
University of Windsor

But can I suggest using bare javac is a very hard process, and that
you'd be better off investing a few minutes installing JBuilder or
ant to make this process automatic? They're tools that handle the
library paths, deciding what to compile, etc.

Depending on what OS you're using, or the other might be easier.

Bob
--
--------------
Bob Jacobsen (Bob_Jacobsen@l..., 510-486-7355, fax 510-495-2957)
At CERN until August 10, replies may be slow.


Locked Re: problem compiling source code

 

At 7:31 PM +0000 8/8/02, sixth_rule wrote:
I am using javac
i moved the jmrix dir into jmri and set the class path
things are working now with these classes

i am now trying to compile the LocoNetMessage class but run into an
error every time i it tries to compile a line with log.error in it
like
log.error("invalid length in call to ctor: "+len);
or
static org.apache.log4j.Category log =
org.apache.log4j.Category.getInstance(LocoNetMessage.class.getName());
There are a couple of libraries that are needed, even during compilation.

You should have gotten a "lib" directory when you checked out the source. They're in there, and have to be manually added to the javac command line.

But can I suggest using bare javac is a very hard process, and that you'd be better off investing a few minutes installing JBuilder or ant to make this process automatic? They're tools that handle the library paths, deciding what to compile, etc.

Depending on what OS you're using, or the other might be easier.

Bob
--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)
At CERN until August 10, replies may be slow.


Locked Re: ad4

Jon Miller
 

I should have said when you are close, inferring I'm closer than Mark<G>.


Locked Re: problem compiling source code

sixth_rule
 

I am using javac
i moved the jmrix dir into jmri and set the class path
things are working now with these classes

i am now trying to compile the LocoNetMessage class but run into an
error every time i it tries to compile a line with log.error in it
like
log.error("invalid length in call to ctor: "+len);
or
static org.apache.log4j.Category log =
org.apache.log4j.Category.getInstance(LocoNetMessage.class.getName());

its actually been a while since i've programed so my skills are rusty
and i think i know the purpose of these lines there like system.out
messages to veiw the error except maybe your trying to keep them in a
log :)

anyways your patience with my ingnorance is appriciated
Chad Spickett


--- In jmriusers@y..., Bob Jacobsen <Bob_Jacobsen@l...> wrote:
At 5:29 PM +0000 8/8/02, sixth_rule wrote:
i have compiled just one class JmriException.java
yet i can't compile LocoNetException.java ???

i keep getting the message can't resolve symbol
class :JmriException
location:package jmri
import jmri.JmriException

i have touached nothing but can't find the problem??

i have left all the files where they are and i don't know why it
won't compile??
To help, I think we're going to need a little more information.

How are you doing this? Are you using either the Ant or JBuilder
tools described on



Or are you using plain javac? If so, in what directory are you
trying
to compile?

Bob
--
--------------
Bob Jacobsen (Bob_Jacobsen@l..., 510-486-7355, fax 510-495-2957)
At CERN until August 10, replies may be slow.


Locked Re: 1.0.3 control panel

Jon Miller
 

Bob,
I have a couple of AD4's so if you are close you can pick one up for
testing.

Jon Miller
AT&SF
For me time has stopped in 1941
Digitrax DCC owner, Chief system
NMRA Life member #2623
Member SFRH&MS


Locked Re: 1.0.3 test installer uploaded

Jim Hanna
 

Hi Bob:

Downloaded the program and copied it to my JMRI CD Files disk, took it into the train room computer , installed with no difficulty and it works great...and the JMRI.1.0.3 reads out at the top of the opening page.

Thanks for all your work on this program. Although I don't know that much about computers(just ask Robin)I will be more than happy to test any of my decoder equipped locos per your instructions if you are in need of feedback on a particular decoder that i might have in my roster.

Thanks again,

Jim Hanna


Locked Re: 1.0.3 control panel questions

Robin Becker
 

Bob,

Once icons are placed on the control panel, the tooltip says
"Alt-click to
see menu, drag with meta key..."
On a Mac, with only one button, "alt" is the control or option keys.
So to see the popup menu I hold control and click-down on something.
"Meta" is the command (a.k.a. Apple) key, so I hold that down to move
things around.

Maybe control works the same on a Windows box?
Tried CTRL or ALT with left and right mouse buttons but nothing causes a
menu to pop up.

The right mouse button seems to be the "meta" key.


Can you view the sensor or turnout number once you place them on
the panel?

Uh, I don't know?
Sorry, not sure if you were responding above to the popup menu or the object
number question.

Robin


Locked Re: 1.0.3 control panel

Robin Becker
 

Bob,

1. When I create a new control panel and add icons, nothing is visible on
the panel until I resize it. After I resize the panel
everything is there.
I tried different X and Y values and it didn't matter.
Does the panel start minimized (nothing by header)? Or is it
bigger than that.
It isn't minimized. Seems to be about 150x150. Resizing one time (small or
larger both work) fixes the problem.


3. When I add a _left_ turnout to the drawing, the initial icon
displayed is
a _right_ turnout in unknown state. Once I click on the turnout
it becomes
a closed _left_ turnout.
This is a bug; I seem to have lost the file for one of the "unknown"
turnouts. Will fix.

3a. When I save and then load the panel, all the turnouts are
right turnouts
in unknown state. I can click on each one and change it to
closed, however
only one will allow me to toggle it between closed and thrown.
I think that's the same thing. There's a missing file, and code gets
confused trying to cope.
Well I created two missing upper-left files, unknown and error, and made a
new panel. Same problem. However, if I manually edit the panel file and
make the changes (upper-left and thrown where appropriate), then it displays
correctly.


But I recommend you switch to JmriDemo for playing with these panels.
That's because it's configuration file (and input menu) has a
"LocoNet Hexfile" option that starts a debugging "layout simulator"
instead of a real layout connection. Select this, quit and restart,
and I think that your sensors should be animated.
When I set it to LocoNet Hexfile the sensor change state as expected.

Robin


Locked Re: problem compiling source code

 

At 5:29 PM +0000 8/8/02, sixth_rule wrote:
i have compiled just one class JmriException.java
yet i can't compile LocoNetException.java ???

i keep getting the message can't resolve symbol
class :JmriException
location:package jmri
import jmri.JmriException

i have touached nothing but can't find the problem??

i have left all the files where they are and i don't know why it
won't compile??
To help, I think we're going to need a little more information.

How are you doing this? Are you using either the Ant or JBuilder tools described on



Or are you using plain javac? If so, in what directory are you trying to compile?

Bob
--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)
At CERN until August 10, replies may be slow.


Locked Re: 1.0.3 control panel

Jon Miller
 

Select a different mirror site<
That did it. It went automatically to Telios and I just didn't notice!


Jon Miller
AT&SF
For me time has stopped in 1941
Digitrax DCC owner, Chief system
NMRA Life member #2623
Member SFRH&MS


Locked Re: 1.0.3 control panel

Robin Becker
 

Jon,

Select a different mirror site. I had the same problem with Telios, but
when I switched to another site it worked fine.

Robin

-----Original Message-----
From: Jon Miller [mailto:atsf@...]
Sent: Thursday, August 08, 2002 10:36 AM
To: jmriusers@...
Subject: Re: [jmriusers] 1.0.3 control panel


It came from the net? From sourceforge.net, download server and reads;

Could not read file.
Go back
aug 08, 2002 10:33

Jon Miller
AT&SF
For me time has stopped in 1941
Digitrax DCC owner, Chief system
NMRA Life member #2623
Member SFRH&MS


Yahoo! Groups Sponsor
ADVERTISEMENT



To unsubscribe from this group, send an email to:
jmriusers-unsubscribe@...



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


Locked Re: 1.0.3 control panel

Jon Miller
 

It came from the net? From sourceforge.net, download server and reads;

Could not read file.
Go back
aug 08, 2002 10:33

Jon Miller
AT&SF
For me time has stopped in 1941
Digitrax DCC owner, Chief system
NMRA Life member #2623
Member SFRH&MS


Locked problem compiling source code

sixth_rule
 

i have compiled just one class JmriException.java
yet i can't compile LocoNetException.java ???

i keep getting the message can't resolve symbol
class :JmriException
location:package jmri
import jmri.JmriException

i have touached nothing but can't find the problem??

i have left all the files where they are and i don't know why it
won't compile??

Chad Spickett


Locked Re: 1.0.3 control panel

 

At 9:43 AM -0700 8/8/02, Jon Miller wrote:
I just attempted to download 1.0.3 and it wouldn't do it. Something
about can't read file????????????
Did that message come from the web, e.g. in your browser, or from a partially downloaded file?

Bob
--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)
At CERN until August 10, replies may be slow.


Locked Re: 1.0.3 control panel

 

At 9:32 AM -0700 8/8/02, Robin Becker wrote:

I think there is a naming issue here with turnouts that might cause
confusion (it confused me anyway). Normally a lefthand turnout means the
diverging route goes to the left of the main route, so the "upper right"
turnout in the control panel is a "lefthand" turnout.
Arrgh! You're completely correct. I've been getting these names wrong about 50% of the time, and I couldn't figure out why.

It's easy to rename them all, so I'll do that.

Bob
--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)
At CERN until August 10, replies may be slow.


Locked Re: 1.0.3 control panel

 

At 9:16 AM -0700 8/8/02, Robin Becker wrote:
Bob,

1. When I create a new control panel and add icons, nothing is visible on
the panel until I resize it. After I resize the panel everything is there.
I tried different X and Y values and it didn't matter.
Does the panel start minimized (nothing by header)? Or is it bigger than that.

2. I can change a turnout by clicking on it but I can't change the displayed
state of a sensor by clicking on it. I think the help page says that this
should be possible?
It should be. It requires a layout connection to actually work. But see below.

3. When I add a _left_ turnout to the drawing, the initial icon displayed is
a _right_ turnout in unknown state. Once I click on the turnout it becomes
a closed _left_ turnout.
This is a bug; I seem to have lost the file for one of the "unknown" turnouts. Will fix.

3a. When I save and then load the panel, all the turnouts are right turnouts
in unknown state. I can click on each one and change it to closed, however
only one will allow me to toggle it between closed and thrown.
I think that's the same thing. There's a missing file, and code gets confused trying to cope.

LocoTools shows this message: Pick an input source from the input menu
first. Not sure what this refers to.
Short answer: Looks like a bug.

Longer answer: Each of the three programs uses its own config file. The JmriDemo and LocoTools programs can _also_ be used without a config file, for example if you want to play with multiple connections at the same time. Or the more common case of trying to debug a connection. So they have "Input" menus from which you can pick a protocol driver.

If JmriDemo discovers a config file with a protocol selected, it uses that and disables the input menu. It also posts messages about whether you've been configured from a file, or need to make your own connection from the menu.

LocoTools seems to have screwed up that logic. I'll fix it.

But I recommend you switch to JmriDemo for playing with these panels. That's because it's configuration file (and input menu) has a "LocoNet Hexfile" option that starts a debugging "layout simulator" instead of a real layout connection. Select this, quit and restart, and I think that your sensors should be animated.

And thanks for your patience with these little problems.

FYI I installed Java 1.4 and the combo box redraw problem when scrolling a
long list is gone.
Great, thanks for trying that.
--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)
At CERN until August 10, replies may be slow.