Connect Rocview (laptop) with another Rocrail Server

Moderators: dadolphs, Moderators

Connect Rocview (laptop) with another Rocrail Server

Postby 4527pink » 21.05.2018, 08:25

I have two laptops.
One is connected to the layout with Rocrail using the NCE PRO Serial Port,
I like to use the other laptop as well connecting them both by wi fi so I could operate rocrail with both laptops,
I have done file sharing before between them .
Is this possible to use both laptops with Rocrail,
If possible, could I get some help please in setting them up.
Thanks,
Andrew.
4527pink
 

Re: laptop

Postby Liviu M » 21.05.2018, 08:54

Hi Andrew,

Rocrail uses a server/client architecture. You will need only one device (physically) connected to the Layout, acting like Rocrail server and you can have one or more Rocrail clients, on the same device like the server or on other device(s) in the network.

In your case, you'll have one Laptop (the one connected to the layout) acting as server (and client if you want to).
On the second one, you will need to start only the Rocview part, that you will connect to the server.
Rocview offers you the corresponding button/menu: File -> Connect to...
In the popup window you need to fill the IP of the Laptop running the (Rocrail) server, leaving the port (8051) unchanged.
Press OK and your second laptop should show the same layout as the first one and you are able to use both of them to control your layout.

I hope I wasn't to confuse,
Liviu
Last edited by Liviu M on 21.05.2018, 08:59, edited 1 time in total.
----------------------------------------------
System: DCC N-Scale
CS: Profiboss (Loconet)
Server: RaspberryPi/OdroidC1/OpenSuse
Client: OpenSuse/Windows(?)
----------------------------------------------
Liviu M
 

Re: laptop

Postby rjversluis » 21.05.2018, 08:54

Andrew,

on the laptop connected to the Command Station runs the Rocrail server.
To connect the other laptop to this server you just start Rocview and connect it with this server.

Check the Wiki:
http://wiki.rocrail.net/doku.php?id=gui-connectto-en
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Re: Connect Rocview (laptop) with another Rocrail Server

Postby 4527pink » 21.05.2018, 09:16

little lost ,
do I still need to go through the wi fi server for both laptops to communicate still.
By the way I look at your site on youtube as well
Andrew
4527pink
 

Re: Connect Rocview (laptop) with another Rocrail Server

Postby 4527pink » 21.05.2018, 09:21

Hi Rob
just gone back to basic nothing showing our messages on laptop to laptop
Andrew.
Problem with internet provider all fixed
Last edited by 4527pink on 21.05.2018, 10:44, edited 1 time in total.
4527pink
 

Re: Connect Rocview (laptop) with another Rocrail Server

Postby Liviu M » 21.05.2018, 09:55

Hi Andrew,
4527pink wrote:little lost ,
do I still need to go through the wi fi server for both laptops to communicate still.

yes, the two laptops need to be and see each other in the local network. But that is all you need to configure "wifi related" (I mean no file sharing, no "direct connection between laptops").
After you are sure your laptops have the IPs in the same range, all you need to configure is the Rocrail server's IP in the Rocview on the client laptop.
To start "playing", you:
- start the rocrail (server) on the laptop connected to the layout
- optional: start the rocview on the same laptop (easier to check that all is working OK)
- start the rocview on the "client" laptop
- connect the rocview on the client laptop by supplying the server's IP (like in the post I write above). Btw, this needs to be done only once, Rocview remembers the last connection and restore it at launch.
- enjoy

Liviu
----------------------------------------------
System: DCC N-Scale
CS: Profiboss (Loconet)
Server: RaspberryPi/OdroidC1/OpenSuse
Client: OpenSuse/Windows(?)
----------------------------------------------
Liviu M
 

Re: Connect Rocview (laptop) with another Rocrail Server

Postby 4527pink » 21.05.2018, 10:07

Okay thank you
Have to to take this laptop out to train shed tomorrow , and see how I go . in setting up .
If I have problems or success I shall let you both know.
as its cold and night time in South Austraila.
Andrew
4527pink
 

Re: Connect Rocview (laptop) with another Rocrail Server

Postby 4527pink » 22.05.2018, 05:25

Hi
All is working between the laptops , thank you both for your help.
Just trying to get my android Samsung tablet to work now ,I have downloaded the app from Google play store,
Andrew.
4527pink
 


Return to Basic topics