Node Js Based server application to control Tactaboard. TactaServer V2
This is the source code for an application for controlling tactaboard Please refer to it to learn how to run this application.
- An installation of NODE JS
- npm
- socket.io
- serialport
- data-table
- express
-
Clone this repo into
~/TactaServer
directory. -
Configure the parameters if needed
~/TactaServer/public/tacta.js
:var boardTypes = ["TACTAVEST", "TACTAFAN"]; var hardCodedBoardValues = { baudRate: 19200, limit: 8, min: 80, max: 255, value: 100, debug: false };
-
Run command
npm install
in~/TactaServer
directory. -
Run command
node index
. -
sudo npm start in
~/TactaServer
. //Not implemneted yet
Option | Default | Description |
---|---|---|
limit |
8 |
Number of Tactors connect to the device. |
min |
80 |
Minimum value that can be given to the tactor. |
max |
255 |
Maximum value that can be given to the tactor. |
value |
100 |
Default value that is given to the tactor. |
boardTypes |
BoardTypes |
Type of Boards Available |
https://ir.canterbury.ac.nz/handle/10092/15156
USAGE : npm start