Giter VIP home page Giter VIP logo

check-hmi-version's Introduction

Check HMI Version

A simple application to check the HMI version on every HMI client with Wonderware InTouch installed.

Requirements

  • Dotnet SDK 6.0 (Tested on SDK 6.0.315)
  • Newtonsoft.Json

Installation

  1. Download and install Dotnet SDK 6.0
  2. Download or clone this repo : git clone https://github.com/fujianto21/check-hmi-version.git
  3. Enter the project directory
  4. Install the package : dotnet add package Newtonsoft.Json
  5. Run the project : dotnet run
  6. Build the project : dotnet build or release the project : dotnet publish -c Release

Setup

  1. Edit HMI_LIST.json to add a new section or append HMI data to an existing section.

    {
         "hmi": [
             {
                 "section": {
                     "name": "Section A",
                     "data": [
                         {
                             "hmi_name": "HMI01",
                             "hmi_ip": "192.168.1.1",
                             "ini_file_path": "\\D$\\Fujianto\\code_csharp\\Check_HMI_Version\\INTOUCH.INI"
                         },
                         {
                             "hmi_name": "HMI02",
                             "hmi_ip": "192.168.1.2",
                             "ini_file_path": "\\D$\\Fujianto\\code_csharp\\Check_HMI_Version\\INTOUCH.INI"
                         }
                     ]
                 }
             },
             {
                 "section": {
                     "name": "Section B",
                     "data": [
                         {
                             "hmi_name": "HMI03",
                             "hmi_ip": "192.168.1.3",
                             "ini_file_path": "\\D$\\Fujianto\\code_csharp\\Check_HMI_Version\\INTOUCH.INI"
                         },
                         {
                             "hmi_name": "HMI04",
                             "hmi_ip": "192.168.1.4",
                             "ini_file_path": "\\D$\\Fujianto\\code_csharp\\Check_HMI_Version\\INTOUCH.INI"
                         }
                     ]
                 }
             }
         ]
     }

    Note: The INTOUCH.INI file is actually located in the Network Application Development (NAD) directory.

  2. If you want to run the application on a 32-bit platform, modify the Check_HMI_Version.csproj and add the code <PlatformTarget>x86</PlatformTarget>, for example:

    <Project Sdk="Microsoft.NET.Sdk">
    
      <PropertyGroup>
          <!-- Other project properties -->
          <PlatformTarget>x86</PlatformTarget>
      </PropertyGroup>
    
    </Project>

Screenshot

demo

Demo

Open the directory demo_app and edit HMI_LIST.json then change hmi_ip to your local IP Address and ini_file_path according to the project directory.

check-hmi-version's People

Contributors

fujianto21 avatar

Watchers

 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.