Giter VIP home page Giter VIP logo

mtconnect-node's Introduction

MTConnect-Node

An implementation of an MTConnect agent on NodeJS

What's New

This project has been migrated over to Typescript, and may now be built in the Visual Studio Code editor with Ctrl+Shift+B. XPath queries partly work. No error returned for invalid XPath, and all tags must be prefixed with an 'm:' namespace. DataItem update is now handled through POST, using a method similar to the cppagent.

All previous readme entries have been moved to release-notes.md.

Known issues

Assets are not implemented at all. Interval parameters are not supported. The agent will not return an error document for several very basic error conditions. All of the XML documents lack proper xmlns namespace attributes. Test cases are not yet created.

Installation

  1. Install Node.js.
  2. Obtain the MTConnect-Node repository.
  3. (Optional) Modify the included probe.xml file, which was taken from the MTConnect Institute Agent.

Usage

Running the Agent

From a command prompt in the repository working directory: $ npm start

All configuration is handled in conf/agent.json, but configuration is minimal at the moment.

mtconnect-node's People

Contributors

gagichce avatar pmcoltrane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mtconnect-node's Issues

Support MTConnectStreams requests

Support streams requests (current, sample), including parameter support.

Current request allows parameters path, at, interval.
Sample request allows parameters path, from, count, interval.

No support for MTConnect assets

No support currently exists for MTConnect assets or cutting tools, which have been present since version 1.2 of the spec.

XML document formatting

XML documents produced by the agent are missing XML declarations, and xmlns namespace attributes.

Support PUT-style item updates

Allow updates to items via HTTP PUT/POST. Necessary because MTConnect adapters are not yet supported, so otherwise there would be no way to update data items.

Should try to accept same form-data format as the cppagent.

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.