
F.
mogwave
server
mogwave
provides a server that can be accessed via
TCP/IP
, providing an
API so that wavelength measurements are accessible to other applications
such as
matlab
or
LabVIEW
. To use the server, you should start
mogwave
and ensure that it is making sensible measurements. You can then stop
mogwave
and make single measurements on demand through the server, or
leave
mogwave
running and access the most recent measurement from the
server as needed.
F.1
Enabling the server
The server is accessed via
TCP/IP
on the host computer that is running
mogwave
. When
mogwave
starts, it will establish a
TCP/IP
socket on the
host computer. The
TCP/IP
port is defined in the
default.cfg
file (see
E.2); if 0, the server is disabled. A typical port value would be 7803.
F.2
Communication with the server
Communication with the server is via
TCP/IP
, with a simple command/re-
sponse
telnet
protocol. For example, if the host computer running
mogwave
has
IP
address of
10.1.1.21
:
telnet 10.1.1.21 7803
help
Here the
telnet
command line sepcifies IP address 10.1.1.21 and port
7803. You can also use a GUI
telnet
, in particular on Windows
TM
we
recommend
PuTTY
available at
. Specify the
Host Name
as 10.1.1.21,
Connection type
as Telnet, and the
Port
which is normally
22, should be changed to 7803.
79
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: ......