Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
λM, wavemeter control software
JavaScript Python Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
client
public
testing
views
.gitignore
.rvmrc
License.md
Procfile
Readme.md
package.json
server.js
startwave.bat
startweb.bat

Readme.md

LambdaM

Lightweight wavemeter control and display environment.

Requirements

Server:

Client:

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

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
Something went wrong with that request. Please try again.