You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Introduction

This document presents the AutoStartSmartClient (ASSC) application to auto start the TSmartClient at Remote Stations.

Overview

This application requires the software version 2014.2.12 or newer. When installing the software the file AutoStartSmartClient.exe will be installed at the installation folder.

In this current version, it is necessary to have the file AutoStartSmartClient.exe and the AutoStartSmartClient.exe.config manually copied from the installation folder on Server Station to any folder into the Remote Stations.  After copying the ASSC application to the Remote Station, the user must configure the .config file or starting up the ASSC with some parameters. The starting up parameters has priority over the parameters in .config file.

The Remote Station must have installed the Microsoft .Net Framework 4.0 or 4.5.

While the ASSC application is running on Remote Station, it will be checking every 30 seconds (default) or any other value configures in the timer parameter if the TSmartClient is running.

If not, it will check the communication with the Server Station using configured parameters for that.  If the ASSC application is able to connect with the project through the  TServer  on Server Station it will restart the TSmartClient on Remote Station using the url parameter.

ASSC workflow.



Parameters configuration

Before running the ASSC application you need to set the parameters in AutoStartSmartClient.exe.config or pass those as parameters in a shortcut file.

The available parameters are:

  • url : SmartClient url that can be found at Info > Redundancy.
  • hidden: flag (true or false) to set if the popup shown is visible or runs in the

   TRUE: window runs in background.

   FALSE: window is visible (default).

  • browser : Browser that will be used to run SmartClient. By default is set as
  • timer : Time between each retry connection attempt (in seconds).
  • ip: Computer IP where is running the runtime service (TServer.exe).
  • port : SmartClient listening port. By default TServer.exe runs on port
  • username: RuntimeUser that is logged By default is set as Guest.
  • password : Custom password to log in as user defined
  • viewonly : Flag (true or false) to see if project can be edited or is view

   TRUE: Project is view only.

   FALSE: Project can be modified (default).




Configuration example

To pass the parameters in the AutoStartSmartClient.exe it is necessary to create a shortcut of the file to any folder of Remote Station. To do so, go to the installation folder and search for the executable.

Right-click the file and select create shortcut. Then, place it in the desired folder. In order to finalize the configuration, right-click the newly created shortcut file and select Properties.

Configure the file path as:

AutoStartSmartClient.exe /url:http://<IP Address>/<binary folder>/TSmartClient.application /timer:<seconds>

E.g.: AutoStartSmartClient.exe /url:http://192.168.15.31/xx-8.1/TSmartClient.application /timer:30


The url can be copied from the engineering environment at Info>Redundancy>Smart Client url. As the image below:

Smart Client URL field.


After setting those configurations double-click on the shortcut file and keep it running. You should see a popup window opening, with a message saying the application is waiting for the TServer to run. Once the project is executed, the TSmartClient will open automatically.

The TSmartClient needs a WebServer (ISS or TWebServer) running properly in the Server computer.


ASSC running.


  • No labels