Giter Site home page Giter Site logo

1-parse_tsettings's Introduction

parse_tSettings

Extracts information from Settings.xml of Siemens TIA Portal

Settings.xml file is maintained by the Siemens TIA Portal holding various interesting data if the user activity on an engineering workstation, running the TIA Portal has to be analyzed. parse_tSettings is small python 3 script to extract this data, provided with the -v option it will also print some information on the different data fields and observations made on their behavior.

Tested TIA Portal versions:

Version 15.1

Usage

Option Explanation
-f <FILE>, --file <FILE> Path (relative or absolute) to the file to parse. Example: C:\Data\Settings.xml
-d <DIRECTORY>, --directory <DIRECTORY> Path (relative or absolute) to directory that should be search recursively for a file named settings.xml. First found file will be processed.
-b, --bulk When -d (--directory) is specified and more than one Settings.xml files should be parsed
-v, --verbose Increase output verbosity and include explanations about the different data fields and observations on their behavior
-h, --help sprints usage information and exit

Examples

# Analyse one Settings.xml file and print verbose output 
python3 ./parse_tSettings.py -v -f ./sampledata2/Settings.xml

# search the given directory for a settings.xml file and parse it. (First occurance will be used) User verbose output
python3 ./parse_tSettings.py -vd ~/tool/sampledata2

# search the given directory for settings.xml files and parse all of them
python3 ./parse_tSettings.py -b -d ~/tool/sampledata2

Limitations

  • Tested with TIA Portal Version 15.1, other Versions of the TIA Portal might behave different.
  • For other information on how the data fields within the Settings.xml file have, see verbose output of the tool.

Author

License

  • Free to use, reuse and redistribute for everyone.
  • No Limitations.
  • Of course attribution is always welcome but not mandatory.

Bugs, Discussions, Feature requests, contact

  • open an issue
  • contact me via Mastodon
  • (reaching out via Twitter doesn't really work well anymore...sorry)

further reading

Change History

  • Version 0.1000:
    • initial release

1-parse_tsettings's People

Contributors

00010111 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.