Lightweight wavemeter control and display environment.
- node.js, download from http://nodejs.org/
- Python (2.7.x), download from http://www.python.org/download/
- pySerial (the latest one, eg. 2.5 at the time of this writing), download from http://sourceforge.net/projects/pyserial/files/pyserial/ for Windows
Update node packages (in the command line, or using
cmd.exe in Windows) inside the project directory (where
This should install all necessary packages. If you already have the
node_packages directory there (copied the project), then might not need to do it.
The current version on Windows might need .Net Framework 3.5 installed to correctly set up.
Run the server with the included batch scripts (
startweb.bat for webserver and
startwave.bat wavemeter logger) or directly run using the command line, from within the project's root directory:
and in the client directory
Go to http://localhost:5000
Configuration is in the
wavemeter.json file. It's in JSON format, see the relevant documents on the web what should be correct.
chnnames: The appropriate channel names. Automatically saved
maxBadReadingTime: the longest continuos bad reading allowed, in seconds, default is 300 (5 minutes)
channelNum: the number of channels, default is 16
Example python client included, within the client directory, requires python 2.7 (maybe?)