CS Ini File

There are no ini files with CS, except one: cs_start.ini. That ini file is located in the directory of the CS_Start.vi (development system) or the CS.exe (runtime system).

Sample ini file

[abc123.gsi.de]
Database=Process
UseSqlServer=1
SqlServerNode=def456.gsi.de

[ghi789.gsi.de]
Database=Process
UseSqlServer=1
SqlServerNode=def456.gsi.de

Each node has its own entry in the ini file. Each node has the following keys:
  1. "Database": name of the ODBC data source.
  2. "UseSqlServer": 1: connect to a SQL server via TCP/IP, 0: Use direct SQL to a local ODBC data source (which may be connected to a remote database).
  3. "SqlServerNode": nodename, where SQL server is located (only for "UseSqlServer=1")

No ini file

In case the ini file does not exist, the following values are used
  1. Database: "Process"
  2. UseSqlServer: "0"
  3. SqlServerNode: "localhost"

-- DietrichBeck - 06 Jul 2005

This topic: CSframework > WebHome > Documentation > CsDocMain > CsLinux > CsIniFile
Topic revision: 2005-07-06, DietrichBeck
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Legal notice | Privacy Policy (german)