Dale,
On 10/09/2016 06:26 PM, dale.gloer@... [jmriusers] wrote:
My configuration is Digitrax, Windows XP connected by an MS100 (yes a real one) on one computer and Windows 10 connected by a Locobuffer USB on the other. JMRI 4.2.1, Java 8.
That's a different situation than using the JMRIClient with the SimpleServer.
In the JMRIClient/SimpleServer case, only one computer is actually connected to the layout and that connection is shared (using the SimpleServer) with other computers (that have the JMRIClient configured).
The reason for only wanting the logic to take place on one machine (and generally, it's either on the server or on the client) is that we don't want actions repeated on the layout. That can cause unexpected things to happen, depending on exactly what hardware is involved.
That said, it is never a good idea to have multiple JMRI computers doing the same thing on the layout at the same time. The reason for this is that the computers don't communicate directly
with each other, and they could have different views of what is actually happening on the layout. at any given point in time (due to communication delays among other things). The more active the layout is, the more likely you are to see issues.
What you will see depend on the exact logic involved, but generally the last computer to complete whatever action it wants to happen will win. In Computer Science, we call something like this a race condition.
Paul