Code Monkey home page Code Monkey logo

node-atdaqnavi-dio's Introduction

node-atdaqnavi-dio

Node.js Integration for Advantech IIoT iDoor DIO module.

Notice that an Advantech iDoor Driver and SDK have to be installed to make this node works correctly. Advantech iDoor Driver and SDK download link is shown below: https://www.advantech.tw/products/58fb7ea6-15fe-448d-b6f1-575bbbab2bfb/pcm-27d24di/mod_12e14877-e242-46e7-9ed6-f84f8ef64f13

Installation

Use npm command to install this package locally in the Node-RED modules directory

npm install node-atdaqnavi-dio

or install it globally with the command

npm install node-atdaqnavi-dio -g

Usage

iDoor DIO package provides the following functions:

  • Get DI and DO status

Example

Please refer to demo.js.

All these examples are started with:

var atdaqnavidio = require('node-atdaqnavi-dio');

Get DI and DO status

Print platform module ID

console.log(atdaqnavidio.get("PCM-27D24DI,BID#0"));

"PCM-27D24DI,BID#0" is a string depend on your system or hardware setting. You can get the string in device manager of Windows. device_description

Tested Platform

  • Windows 10 Enterprise LTSC with node.js 10.19.0 or node.js 18.14.1

History

  • 1.0.1 - March 2020 : Add Linux amd64 supported
  • 1.0.0 - March 2020 : Initial Release

License

Copyright 2020 ADVANTECH Corp. under the Apache 2.0 license.

node-atdaqnavi-dio's People

Contributors

chiclee0819 avatar yuchun-chen-adv avatar

Watchers

 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.