Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/imrehg/lambdam
- Owner: imrehg
- License: mit
- Created: 2012-04-27T05:54:58.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-04-16T03:19:40.000Z (over 4 years ago)
- Last Synced: 2024-04-08T17:42:20.755Z (8 months ago)
- Language: JavaScript
- Size: 248 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: Readme.md
- License: License.md
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 WindowsUsage
=====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 16Test client
-----------Example python client included, within the client directory, requires python 2.7 (maybe?)
python testconn.py