devices_runtime_configuration

This is an old revision of the document!


The root-node of the TransSECS tree allows you to set the default configuration for your host or tool. For example, here's the default screen from the TransSECS “GEMTool” example project.

When you first run your tool or host, an XML configuration file matching the name you gave in your project will be created. For example, for the “GEMTool” the file will be called “GEMToolProperties.xml”

This file is not created until you first run the application. After that, the values in the file will be used to run the application. Redploying the project from TransSECS, even if the defaults in the root nod have been changed, will not change these project properties. If the project should restart with the default properties from TransSECS, simply delete this configuration file.

You may edit this file in any text editor. We recommend the Notepad++ editor but any editor with the ability to edit plain text will work.

Make a backup of the file, just in case. When you open it you will see a header followed by a number of properties:

Each of the parameters is in a block that consists of the name of the parameter as a string and the value. For example, the “passivePort” property looks like this:

  <void method="put">
    <string>passivePort</string>
    <int>5010</int>
  </void>

You should not change any of the parameter names, but can change any of the values as needed for your application.

- passiveT1 - passiveT2 passiveT3 passiveT4 passiveT5 passiveT6 passiveT7 passiveT8 baudRate deviceId allDeviceIdsValid allowDuplicateSECSIMessages persistenceFileName linkTestInterval activeConnectionRetryInterval passivePort

passivePort equipmentHostName activePort activeT1 activeT2 activeT3 activeT4 activeT5 activeT6 activeT7 activeT8

  • devices_runtime_configuration.1601840317.txt.gz
  • Last modified: 2020/10/04 14:38
  • by wikiadmin