Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Easy Heading Macro
headingIndent40
navigationTitleOn this page
selectorh2,h3
wrapNavigationTexttrue
navigationExpandOptiondisable-expand-collapse

...

iconfalse
titleIntroduction

Overview

The

...

Auto-Start

...

SmartClient (ASSC)

...

 watchdog application is used to automatically start the TSmartClient

...

Overview

 in your project's remote stations. This application requires the software version 2014.2.12 or newer. When installing the software, the file AutoStartSmartClient.exe will be installed at added to the installation folder.

In this the current version, it is necessary to have the file files AutoStartSmartClient.exe and the AutoStartSmartClient AutoStartSmartClient.exe.config config must be manually copied from the server station's installation folder on Server Station to any a folder into in the Remote Stationsremote station.   After copying the ASSC application to the Remote Stationremote station, the user must configure the .config file or starting up the ASSC will startup with some parameters. The starting up parameters has several parameters that will take priority over the any parameters in the .config file. 

Note

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


While When 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 the remote station, the ASSC application with check every 30 seconds to see if the TSmartClient is running, or the user can set a time parameter for how often the application checks. 

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

Image Removed


ASSC workflow.Image Added



...

Parameters configuration

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

The available parameters are:

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

   TRUE: window runs in background.

   FALSE: window is visible (default).

  • browser : Browser The browser that will be used to run SmartClient. By default is set asInternet Explorer is the default browser.
  • timer : Time The time (in seconds) between each attempt to retry the connection attempt (in seconds). 
  • ip: Computer IP where is The computer IP for the computer running the runtime service (, TServer.exe). 
  • port : The SmartClient listening port.  By default, TServer.exe runs on port 3101. 
  • username: The RuntimeUser that is logged By in. The default username is set as Guestguest. 
  • password : Custom password to log in as user definedA user created custom password.
  • viewonly : Flag A flag (true or false) to see if a project can be edited or is view only.

   TRUE: Project is view only.

   FALSE: Project can be modified (default).



...

Configuration example

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

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

Configure the file path as:

...

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

Image Removed

Smart Client URL field.

Image Added


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

Note

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

Image Removed


ASSC running.Image Added