TypeScript / JavaScript API
Koheron SDK 0.x documentation.
Use the master branch with the V0 image supplied with your board. This version uses
CONFIG=.../config.yml. For new instrument development, follow the V1 documentation.
Overview
Koheron TypeScript lets you write a web-based user interface for your instrument.
Requirements
$ sudo apt-get install nodejs
$ sudo npm install -g typescript
Usage
To control the instrument in TypeScript, the instrument requires:
- its TypeScript driver in line with the instrument C++ driver;
- a TypeScript application to connect to the instrument.
Important note
The web-based user interface files are built with the instrument. They must be specified in the instrument configuration file.