Coder Social home page Coder Social logo

openhistorianremotedataadapter's Introduction

OpenHistorianDataRemotingAdapter

The OpenHistorian (https://github.com/GridProtectionAlliance/openHistorian) universal adapter to acquire data from any remote data source server over .NET Remoting.

The typical application is OPC DA (https://github.com/Rotabor/OpcDaAgent). Using with OPC DA remote server, this adapter helps to resolve access rights conflict and 32/64bit incompatibility.

Concept

openHistorian Web Interface

Disclaimer: This code is provided as is, without any warranty or obligation. It requires you to have knowledge of C# programming, openHistorian and other products/libraries/technologies in use. It has to be compiled. This code is created with help of OpenHistorian-OPC-UA-Adapter-master (https://github.com/Pinkisagit/OpenHistorian-OPC-UA-Adapter).

How to configure:

  1. Compile source code - refer to GSF dlls provided by the installed OpenHistorian. The target platform should match openHistorian's platform - .Net Framework 4.8 64bit for openHistorian 2.8.157.
  2. Create a folder within OpenHistorian folder called DataRemoting
  3. Copy all files from bin directory into DataRemoting folder
  4. Open the historian database using whichever SQL server you have chosen
  5. Add new entry to Protocol table
    • Acronym: DataRemoting
    • Name: Data Remoting Adapted
    • Type: Measurement
    • Category: Device
    • AssemblyName: DataRemoting\OpenHistorianOPCDAAdapter.dll
    • TypeName: nsOpenHistorianRemoteDataAdapter.RemoteDataAdapter
  6. In OpenHistorian (you may need to restart it), create a new device
    • Protocol: select DataRemoting Adapter from the list
    • Connection String: "remotehost=THEHOST;port=XXXXX;renewaltime=YY"
    • Make sure to fill Historian field and other compulsory fields
    • Check Enabled
    • Save
  7. Add a new measurement
    • Point Tag: meaningful name
    • Signal Reference: the correct name for the remote data server
    • Device: Select device you have created in Step 6
    • Measurement Type: Analog (if the tag is a real)
    • Fill in Description and Historian
    • Check Enabled
    • Save
  8. Restart OpenHistorian service.
  9. Examine the log file to see if there are any errors.

openhistorianremotedataadapter's People

Watchers

 avatar Rotabor 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.