Version 3 has been released!

Updating RemoteSign screens from Rocrail

This information has been kindly supplied by Dirk Verbandt.

1. Introduction

This manual guides you to setup Rocrail to work with RemoteSign.
The setup is for two displays but can be adapted for more or fewer displays.

2. Requirements

3. Hardware installation

Install the RemoteSign ESP and displays according to the instructions at https://remotesign.mixmox.com/p/esp8266-sample-sketch.html

4. Setup RemoteSign Sequencer


Install RemoteSign if you haven’t already done so. (In this manual we assume the folder C:\RemoteSign.)
Go to c:\RemoteSign\scripts and make the following files with e.g. Notepad :

Filename: Spoor1.bat
Content: C:\RemoteSign\RSRelay.exe Spoor_1
Filename: Spoor2.bat
Content: C:\RemoteSign\RSRelay.exe Spoor_2

These .bat files will be used for the Actions in Rocrail.

Start the first RemoteSign display.
Start RemoteSign Sequencer.



Create a new script.
Click on File
Click on New
Define the filename for the script (here Tracks.ini)



Click on OK

Add all other RemoteSign displays.
Click on Add RemoteSign
Click on Search LAN



The IP address of the first RemoteSign is visible, click on Use this and change the Name-field.
Click on OK



Click on File
Click on Save
Add the second RemoteSign the same way.
Click on Add new script and insert the script name (here Spoor_1).



Now we make the actual script.
Click on the Command combobox



Select "Data Source"
Click on Add
Insert the following info: C:\Remotesign\Scripts\Spoor1.txt



Click on OK
Insert the following lines by repeating the previous steps.
Click on Command and select {ROW}



Insert the following text:  \<Row1|15> \T+01
This defines the data from the text file on the first display row with a clock on the right side.
Add another row.
Click on Command and select {ROW}


Add the following text: \<Row2|15> and Click on OK
Additional you can play a sound file every time the display changes (optional).
Click on Command and select {PLAY}
Insert the following text: C:\RemoteSign\Scripts\Dingdong.wav



The file dingdong.wav must exist. Any other sound file is also possible.
Click on Switch All and you should see the following screen.



Select Spoor_2 and make the second script Spoor_2 the same manner.


Click from time to time on File and then on Save


5. Setting up the RemoteSign Sequencer


RemoteSign Sequencer is the main engine for the displays.
To start the above mentioned scripts you have to use RSRelay.exe.
Go to C:\Remotesign and make two files with Notepad:

Filename: TXT_Spoor1.bat
Data:
copy "%*" > Spoor1.txt
C:\RemoteSign\RSRelay.exe Spoor_1


Filename: TXT_Spoor2.bat
Data:
copy "%*" > Spoor2.txt
C:\RemoteSign\RSRelay.exe Spoor_2


6. Setup Rocrail


Install Rocrail if you haven’t done yet.
Start Rocrail and make two text-labels (for each station-track).
Click on Tables
Select Text
Make 2 text fields.



Now you have to make an Action.
Click on Tables
Select Actions
Make the action Spoor_Display with the following data:


Make the actions to update the displays.
Click on Tables
Select Actions
Make 2 actions with the following data:
Name action: Update_Display_1



And an action Update_Display_2



6. Testing

Start RemoteSign Sequencer
(It should open the Tracks.ini, otherwise open that file:
Click on File
Select Open
Select Tracks.ini)
Minimise RemoteSign Sequencer



Start a loc in Rocrail.
The data in the two textfields will change as the loc starts the actions.
Instead of the action you can also define a Schedule and connect the actions to that schedule.
Then you have to define the parameters of the Schedule in the text fields.