Skip to main content
Version: v2

Streaming messages

The communication between the controller and the Streaming PC is realized by UDP messages. The controller receives streaming messages on port 28000 of the Control Unit.

In the following, the message format for each of these messages is defined.

Common header​

Every streaming message starts with the same two bytes:

OffsetFieldTypeDescription
0Indexuint8Message counter. Increase it by one with every message; after 255 comes 0.
1Modeuint8The streaming mode the message is meant for. Must match the mode of the Start streaming request.
note

All values in streaming messages are 64-bit floating point numbers (double) in network byte order (i.e. "Big Endian"), e.g. struct.pack(">d", value) in Python. Each message must be sent as a single UDP datagram of exactly the documented length.

For how the controller handles invalid messages, see Ignored messages.