Giter VIP home page Giter VIP logo

datamodel-aml-c's Introduction

DataModel AML library (c)

datamodel-aml-c is a wrapper library which is written on the top of datamodel-aml-cpp, that provides the way to present raw data(key/value based) to AutomationML(AML) standard format.

  • Transform raw data to AML data(XML).
  • Serialization / Deserialization AML data using protobuf.

Prerequisites

  • SCons

  • datamodel-aml-cpp

    • Since datamodel-aml-cpp will be downloaded and built when datamodel-aml-c is built, check the prerequisites of it.
    • Prerequisites

How to build

  1. Goto: ~/datamodel-aml-c/

  2. Run the script:

    ./build.sh <options>         : Native build for x86_64
    ./build_32.sh <options>      : Native build for x86
    ./build_arm.sh <options>     : Native build for armhf [Raspberry pi board])
    ./build_arm64.sh <options>   : Native build for arm64 [Raspberry pi board])
    

Notes
For getting help about script option: $ ./build.sh --help

How to run

Prerequisites

Built datamodel-aml-c library

Sample

  1. Goto: ~/datamodel-aml-c/out/linux/{ARCH}/{MODE}/samples/
  2. Set library paths:
    • datamodel-aml-c library
      export LD_LIBRARY_PATH=../
      
    • datamodel-aml-cpp library
      export LD_LIBRARY_PATH=../../../../../dependencies/datamodel-aml-cpp/out/linux/{ARCH}/{MODE}/
      
  3. Run the sample:
     ./sample
    

Usage guide for datamodel-aml-c library (for microservices)

  1. The microservice which wants to use aml APIs has to link following libraries:
    (A) If microservice wants to link aml dynamically following are the libraries it needs to link:
    - aml.so
    - caml.so
    (B) If microservice wants to link aml statically following are the libraries it needs to link:
    - aml.a
    - caml.a
  2. Reference aml library APIs : docs/docs/html/index.html



datamodel-aml-c's People

Contributors

jaewook-jung avatar beomseokoh avatar mgjeong avatar jinhyuck-park avatar junho13lee avatar chajiwon avatar

Stargazers

minhaolee avatar

Watchers

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