/MTConnect-JS

MTConnect client tools for Javascript

Primary LanguageJavaScriptMIT LicenseMIT

#MTConnect-JS

Overview

This is a collection of Javascript and jQuery plugins related to MTConnect client-side development. It is currently a work-in-progress: only a few very basic examples have been created.

Contents

  • Agent.js - a class for fetching data from an MTConnect agent.
  • DataItem.js - a jQuery widget for displaying an MTConnect dataitem.
  • DataItem.css - styles for DataItem.js.
  • index.html - a demo page for the above.
  • proxy.php - a very simple proxy script in PHP.

Usage

Run from your webserver and open index.html. Enter the location of the MTConnect agent and the proxy. Click 'Monitor'. If your agent supports CORS, or is from the same origin, leave the proxy input blank.

Further Information

Information about MTConnect, including standards documents, may be found at the MTConnect Institute website.