Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • at_palomagr
2 results

README.md

Blame
  • README.md 14.87 KiB

    RNDMC

    Reconfigurable Numeric Dataflow Machine Controller

    aka project 'consistent-sandbox'

    img software img hardware

    This is a piece of software that is designed to help you assemble high level controllers from dataflow software elements. It serves a graphical programming interface, and is meant to live with dataflow hardware elements from this project 'automatakit'.

    It's in the early stages, so bear with us. Everything is going to be great.

    Usage

    Installing Node.js, WebSocket and SerialPort, and MathJS

    To Run DMC, you'll need to install node.js, and then the packages serialport and ws (websocket).

    Install Node.js

    Node.js is a runtime environment for javascript, so you can write and run js locally. Download and install it here.

    To check that node is installed, you can use

    node -v

    In Windows check that in Environment Variables, System Variables, Path there is a path for C:\Users\yourusername\npm folder. If the folder does not exist, create it and set the path.

    Packages

    I've added a package.json file to the repo, which is another cool node.js trick - this means that to install everything, you should be able to (after downloading the repo and cd-ing into it) run:

    npm install

    This should install everything else. If this fails, you can install things one-by-one as listed below.

    Install Serialport

    Node comes with a package controller called 'npm' - node package manager. You can use this to install dependencies for node programs.