Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imrehg/lambdam

λM, wavemeter control software
https://github.com/imrehg/lambdam

Last synced: 12 days ago
JSON representation

λM, wavemeter control software

Awesome Lists containing this project

README

        

LambdaM
=======

Lightweight wavemeter control and display environment.

Requirements
============

**Server**:

* node.js, download from http://nodejs.org/

**Client**:

* 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

Usage
=====

First time
----------

Update node packages (in the command line, or using `cmd.exe` in Windows) inside the project directory (where `package.json` is):

npm install

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.

Other times
-----------

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:

node server.js

and in the client directory

C:\Python27\python.exe client\wavemeter.py

on Windows

Go to [http://localhost:5000](http://localhost:5000)

Configuration
-------------

Configuration is in the `wavemeter.json` file. It's in JSON format, see the relevant documents on the web what should be correct.

The parameters:

* `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

Test client
-----------

Example python client included, within the client directory, requires python 2.7 (maybe?)

python testconn.py