Giter Club home page Giter Club logo

godatalogconverttui's Introduction

goDataLogConvertTUI

Build Status

goDataLogConvertTUI is a Go-based graphical tool for importing large amounts of raw DAT files into a FactoryTalk Historian server. This tool leverages a low-level C API (piapi.dll) to push data efficiently into the historian, capable of processing up to 250,000 points per second.

Screenshot 1 Screenshot 2

Features

  • Graphical user interface for easier configuration and monitoring.
  • Imports raw .DAT files directly into a FactoryTalk Historian server.
  • Supports mapping of Datalog tags to Historian tags using a CSV file.
  • Allows configurable logging levels for better debugging and monitoring.
  • Concurrent processing of multiple DAT files for efficient data import.

Requirements

To run goDataLogConvertTUI, ensure the following dependencies are installed:

  • piapi.dll: This is installed by default on all servers with the pi-sdk installed/ all PINS servers.

    When running the import from a remote node:

    • Ensure that the remote IP address has write permissions in the Historian server settings (SMT > Security > Mappings & Trusts).
    • You may need to configure access based on the process name (dat2fth) in SMT > Security.

Latest Release

Latest Release

Previous Version

Looking for the command-line version? Check out goDatalogConvert.

Building

  1. Clone the repository:

    git clone https://github.com/complacentsee/goDataLogConvertTUI.git
    cd goDataLogConvertTUI
  2. Build the executable (if cross-compiling):

    GOOS=windows GOARCH=amd64 CGO_ENABLED=1 \
    CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ \
    go build -v -o goDataLogConvertTUI.exe
  3. Run the executable with the appropriate flags:

    ./goDataLogConvertTUI.exe -path /path/to/dat/files -host historian_server -processName dat2fth -tagMapCSV /path/to/tagmap.csv

Usage

The goDataLogConvertTUI tool reads all .DAT files in the specified directory and pushes the values onto a FactoryTalk Historian server.

Command-line Arguments

  • -path (default: .): Path to the directory containing DAT files.
  • -host (default: localhost): The hostname of the FactoryTalk Historian server.
  • -processName (default: dat2fth): The process name used for the historian connection.
  • -tagMapCSV: Path to a CSV file containing the tag map for translating Datalog tags to Historian tags.
  • -debug: Enable debug-level logging for detailed output.

Example

./goDataLogConvertTUI.exe -path /data/datfiles -host historian-server -processName dat2fth -tagMapCSV tagmap.csv -debug

godatalogconverttui's People

Contributors

complacentsee avatar

Watchers

 avatar

godatalogconverttui's Issues

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.