
80
Appendix F.
mogwave
server
The above example sends the
help
command to
mogwave
, which will report
back something like:
mogwave running wavemeter W2001101140930
Wavelength range 766.2 to 788.9nm, difference 22.7nm
Valid commands: wave, last, close, start, stop, die, kill
F.3
mogwave
commands
The
mogwave
server is controlled via simple text commands of the form
wave
.
The commands must match exactly, with no abbreviations or extensions.
For example,
wave
is good, but
wav
and
waver
are not.
Each command will respond with “OK:” if valid, or “ERR:” if invalid or
some error occurred, followed by values or further information.
START
start
Start continuous measurement.
STOP
stop
Stop continuous measurement.
WAVE
wave[,units]
Returns most recent measurement if acquiring; initiates a single new mea-
surement if not.
units
Units for return value; can be
nm vac
,
nm air
,
nm raw
,
THz
,
cm
. If no units
specified, return value is raw measurement in nm.
The response includes the time of measurement, for example:
last,nm vac
OK: 16:59:08.8 779.984977
WIDTH
width[,units]
Returns rms peak width of most recent measurement if acquiring; initiates
a single new measurement if not. Note that the values returned by
wave
Summary of Contents for MWM
Page 1: ...MWM wavemeter Revision 3 19 mogwave 1 4 15 Firmware 0 6 9 ...
Page 4: ...ii ...
Page 7: ...Contents v G Ugrading firmware 83 References 84 ...
Page 8: ...vi Contents ...
Page 54: ...46 Chapter 6 Calibration ...
Page 58: ...50 Appendix A Specifications ...
Page 66: ...58 Appendix B Communications ...
Page 70: ...62 Appendix C Programming ...
Page 86: ...78 Appendix E mogwave configuration ...
Page 92: ......
Page 94: ...86 ...
Page 95: ......