gwanryo / com-grapher

Simple graph viewer communicates with serial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COM Grapher

COM Grapher Simple graph viewer communicates with serial(COM port).

Getting Started

You can easily start with Download this project ZIP

Prerequisites

Build

  1. Install Node.js (Any version will be okay, but not sure)

  2. Follow node-gyp installation and make sure node-gyp is properly configured

  3. Install required npm package for build:

npm install
  1. Rebuild packages, additionally rebuild serialport with --update-binary option:
npm rebuild
npm rebuild serialport --update-binary

or, you can just run command below

npm run rebuild
  1. Rebuild electron:
./node_modules/.bin/electron-rebuild
  1. (Windows only) To build executable, run this command. This will create dist folder with installer and portable:
npm install -g electron-builder
electron-builder install-app-deps
npm run build:win

Usage

Transmit Data Type

  • Data in one line, delimited by as you input (\r, \n, \r\n ...)
  • Data string should be enclosed with square brackets
  • Only numbers(or floats) are allowed
  • 25nd data will be recognized by angle (If you don't want, see below)

For example, following data will accepted and decoded well by program

[1, 2, 3, 4, 5, 0.001, 0.002, 0.003, 0.004, 0.005]\n

or

[1, 2, 3, 4, 5, 0.001, 0.002, 0.003, 0.004, 0.005]\r

or

[1, 2, 3, 4, 5, 0.001, 0.002, 0.003, 0.004, 0.005]\r\n

What is Arm, Dumbbell, Encoder, Angle Index?

  • It's for my own usage, put Angle Index to maximum value if you don't want.

Authors

  • Ryo - Whole work

License

This project is licensed under the MIT License - see the LICENSE file for details

Credits

Icons made by Smashicons from www.flaticon.com is licensed by CC 3.0 BY

Acknowledgments

  • Just lab work :)

About

Simple graph viewer communicates with serial

License:MIT License


Languages

Language:JavaScript 68.9%Language:HTML 31.1%