
D. Communications
The
FZW
can be connected to a computer by
USB
or ethernet (
TCP/IP
)
and the software package
mogfzw
(chapter 3) provides interactive
functionality.
Device
control
can
also
be
integrated
into
existing
control software following the protocol below using the commands
in Appendix C.
D.1
Protocol
Device communication follows a query/response protocol using CRLF-
terminated ASCII strings.
Statements are either
commands
or
que-
ries
depending on whether they cause an action to occur. A command
will always respond with
OK
or
ERR
as appropriate.
It
is
strongly
recommended
that
all
software
should
wait
for
this
response and check for success before continuing.
The
python
and
LabVIEW
bindings provided take care of buffering and error checking
automatically.
The
MOGLabs Commander
application (
mogcmd
) is available as part
of the
mogfzw
package and provides a convenient interface for sen-
ding commands and receiving responses (Figure D.1).
D.2
TCP/IP
The
FZW
can be accessed over ethernet via the
IPv4
protocol.
When
ethernet is connected, the
FZW
will attempt to obtain an
IP
address
by
DHCP
. If
DHCP
fails, an internally defined address will be used.
In both cases, the address will be shown on the device display (for
example,
10.1.1.190:7802
), showing the address and port number
for communicating with the device.
39
Summary of Contents for FZW600
Page 1: ...Fizeau Wavemeter FZW600 Version 0 1 2 Rev 2 hardware ...
Page 20: ...14 Chapter 3 User interface ...
Page 30: ...24 Chapter 4 Operation ...
Page 36: ...30 Appendix A Specifications ...
Page 44: ...38 Appendix C Command language ...
Page 49: ...E Dimensions 83 120 146 32 43 ...
Page 50: ...44 ...
Page 51: ......