Skip to content
This repository

λM, wavemeter control software

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 client
Octocat-spinner-32 public
Octocat-spinner-32 testing
Octocat-spinner-32 views
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 License.md
Octocat-spinner-32 Procfile
Octocat-spinner-32 Readme.md
Octocat-spinner-32 package.json
Octocat-spinner-32 server.js
Octocat-spinner-32 startwave.bat
Octocat-spinner-32 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.