
E. 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.
E.1
Protocol
Device communication follows a query/response protocol using CRLF-
terminated ASCII strings. Statements are either
commands
or
queries
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 send-
ing commands and receiving responses (Figure E.1).
E.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.
57
Содержание FSW4
Страница 1: ...Fizeau Wavemeter and Fibre Switcher FZW600 FSM2 FSW4 FSW8 Firmware v0 9 5 mogfzw v1 4 5 ...
Страница 36: ...30 Chapter 5 PID locking ...
Страница 50: ...44 Appendix A Specifications ...
Страница 60: ...54 Appendix C Command language ...
Страница 62: ...56 Appendix D Errors and troubleshooting ...
Страница 67: ...F Dimensions and PCB 83 120 146 32 9 30V PID TRIG FSW Figure F 1 FZW chassis dimensions 61 ...
Страница 68: ...62 Appendix F Dimensions and PCB 146 33 37 120 18 Figure F 2 FSW fibre switch dimensions ...
Страница 71: ......