User Tools

Site Tools


steam:settingsdescription:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
steam:settingsdescription:start [2020/08/21 08:50]
alkhiami
steam:settingsdescription:start [2020/08/21 10:56] (current)
brinkhaus
Line 1: Line 1:
-settings_template.xml shows an example ​for creating a system structure. +''​settings.xml''​ is the central settings file for Steam.
-The whole program will depends on this information to creat the bassis structure of the system and +
-to tell the program in which mode it should operate and how the data should be sent.+
  
 +The whole program depends on this information to create the base structure of the system and
 +configures, in which mode it should operate and how data should be processed.
  
-at start, the first thing the program will do, is scanning the XML file to bring the informations needed for the system. +The XML is read directly ​at start of SteamIn case of any error in the XML file, the program stops and gives at the Terminal or in the loggerFile an error message.
-in case of any error in the xml file, the program ​will stops and give at the Terminal or in the loggerFile an error message+
-which shows in which place the data has not been entered correctly.  +
-The program will continue to process the data, only if the xml file has been correctly created.+
  
-here is more informations about the xml file +Steam only starts processing data, if the xml file has been correctly read.
-the program will works in tow main threads (SamplingThread and ProcessingThread),​  +
-the operation mode for these threads ​ will be defind as fowllows+
  
-<​SamplingThread-type>​ : here will be given in which mode the data Source will sample the Data. +The program works in tow main threads ​(SamplingThread ​and ProcessingThread)The operation mode for these threads ​ is defined as follows:
-there is the following options :  { ETHERCAT , MODBUS , CLIENT , DUMMY , ADAS }  +
-if the Client Mode has been entered, this thread wiil try to connect to a server to bring the data(as a Source) ​and  +
-send it to the ProcessingThread ​to be worked.+
  
-if the Dummy Mode has been entered, the program will generate dummy data for testing purpose.+<​code>​ 
 +<​SamplingThread-type>​ 
 +</​code>​
  
-<​ProcessingThread-type>​ : here will be given in which mode the data will be processed. +Mode the data Source ​will sample dataValid options: { ETHERCAT ​MODBUS ​CLIENT , DUMMY , ADAS }
-there is the following ​options : { SERVER ​CSV MQTT } +
-if the server Mode has been entered: a new thread will be created to work as server  +
-and the ProcessingThread will use this server to send the data to a client.+
  
-if the CSV Mode has been enteredthe processed data will be written in CSV file.+If the CLIENT ​Mode is enteredthe thread ​will not read conventional data source but will instead connect to an external Steam-Server and reads its data.
  
-if the MQTT Mode has been enteredthe processed data will be sent in form of json structure to a mosquito server.+If the DUMMY Mode has been enteredthe program ​will generate dummy data for testing purpose.
  
 +<​code>​
 +<​ProcessingThread-type>​
 +</​code>​
  
 +Mode the data is processed. Valid options: { SERVER , CSV , MQTT }
 +
 +If the SERVER Mode has been entered, Steam creates a TCP server to which an other steam instance may connect in CLIENT mode. 
 +
 +If the CSV Mode has been entered: the processed data will be written in a CSV file.
 +
 +If the MQTT Mode has been entered: the processed data will be sent in form of a JSON structure to a mosquito server. For MQTT configurations,​ the user should configure the fields which start with MQTT.
 +
 +In the modes ETHERCAT , MODBUS the system can be configured to read analog and digital values from Modbus or EtherCAT sources. The names and parameters of the terminals can be configured in the respective fields.
steam/settingsdescription/start.1597999808.txt.gz · Last modified: 2020/08/21 08:50 by alkhiami