No description, website, or topics provided.
Branch: master
Clone or download
Latest commit ed429b4 Nov 13, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Nov 6, 2018
README.md Update README.md Nov 13, 2018
barcode.html Supported barcode parameter template Nov 8, 2018
barcode.js Supported barcode parameter template Nov 8, 2018
package.json Supported barcode parameter template Nov 8, 2018

README.md

node-red-contrib-barcode

Node-RED node with Dynamsoft Barcode Reader for Windows.

Install

sudo npm install -g --unsafe-perm node-red
cd %userprofile%\.node-red
npm install node-red-contrib-barcode

SDK License

Get the free trial license.

For example:

t0068NQAAACqUjZa21C+W7fRdPkf2FRFRr+QpfVC2tDsl/8t25TzYCNxl5s0OkuwFgEMGNfN95Z0HYQ55ROi1px9JqVAP7/c=

Usage

If the default port 1880 cannot work, change it to 18800 in %userprofile%\.node-red\settings.js.

Start Node RED:

node-red

In web editor, add inject node, file node, barcode node and debug node. You can set the image path in file node.

Node RED barcode

Click barcode node to set a valid license and barcode parameter template:

Barcode license

Here is an example of template:

{
  "ImageParameter": {
    "Name": "Custom_143301_827",
    "BarcodeFormatIds": [
      "OneD"
    ]
  }
}

If you do not set a template, the default template will be used.

Run the app:

Node RED barcode results

Blog

How to Use Node RED with Barcode Module on Windows 10