Giter VIP home page Giter VIP logo

systemdumpviewer's Introduction

SystemDumpViewer License: GPL v3

Viewer for SystemDump.xml files of B&R PLCs with a few nice features...

SystemDumpViewer

Contributors welcome

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to the owner.

How to compile

  1. Get Qt 5.12.6 from here: Download
  2. Install Qt with mingw730_32
  3. Copy the qwt.dll from libs folder to you build/debug or build/release folder

If you want to use another Qt version, you'll have to compile Qwt first. Tutorial

More info about the project

Recommended folder structure

To make the .bat scripts and everything run smoothly, the following structure is recommended: FolderStructure

Lanugages

Qt supports translation in the code. If you want text translated, use tr("mytext"), if not use QString("mytext")

Steps with bt_EditLanguages.bat to add translations

  1. Option 5 in batch: Update and remove obsolete
  2. Edit the desired languages in Linguist (currently german, english, french, russian and polish)
  3. Option 4 in batch: Release
  4. Option 8 in batch: Copy to debug

Now you should have up to date .qm files and the translation should work in your debug environment

Program structure

A very brief overview :-)

systemdump.h

Here is the main systemdump structure defined for the member this->SysDump in the main class New values have to be added here.

main_mapXml.cpp

In file main_mapXml.cpp there are the possible entries in the Systemdump.xml defined as mappings with lowercase texts and enums, so switch cases can be used. The std::maps and the enums themselves have to be defined in the mainwindow.h (Starting around line 212) aswell.

main_readXml.cpp

In file main_readXml the values are read from the xml structure with the rapidxml library. The function get_SystemDumpSections(...) reads all the sections. The error number thrown if an unknown attribute is found defines the place in the code where to look for easier locating. See file errorNumbers.txt for (possibly incomplete) list of error Numbers. The values are written to this->SysDump...

main_displayValues.cpp

Here the Values are displayed on the visu, using the values from this->SysDump

systemdumpviewer's People

Contributors

bee-eater avatar

Watchers

James Cloos 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.