Preamble................................................................................................................................................... 6
Quick Start........................................................................................................................................................ 7
How to connect the XL3 physically................................................................................................................. 8
Worldwide Access - NTi Connect.................................................................................................................... 8
Communication Protocols .............................................................................................................................. 9
TCP ............................................................................................................................................................9
WebSockets ..............................................................................................................................................9
Communication - First steps......................................................................................................................... 10
First Prompt............................................................................................................................................ 10
Identification Message (Advanced Streaming) ................................................................................... 10
Basic Code examples (Python 3.8)............................................................................................................... 11
TCP ............................................................................................................................................................9
WebSocket ............................................................................................................................................. 12
NTi Connect............................................................................................................................................ 13
Streaming API ......................................................................................................................................... 14
Basic Streaming API ...................................................................................................................................... 14
Introduction ............................................................................................................................................ 14
Communication...................................................................................................................................... 15
Command........................................................................................................................................15
Answer.............................................................................................................................................15
Example: 123 values.......................................................................................................................16
Example: 123 and spectrum values...............................................................................................17
Python example ..................................................................................................................................... 18
Advanced Streaming API............................................................................................................................... 19
Introduction ............................................................................................................................................ 19
Configuring the XL3 ............................................................................................................................... 19
Typical configuration file................................................................................................................20
Important Settings for Streaming ..................................................................................................21
Data Stream Channels........................................................................................................................... 23
Channels ID .....................................................................................................................................23
Content ID........................................................................................................................................23
Channel states ................................................................................................................................24
XL3 Message format ......................................................................................................................24
SYSTEM Channel ............................................................................................................................25