START / RUN
Syntax
START or RUN
Description
Starts the acquisition. Both forms are identical. The data stream begins on port 55151 towards the board's owner (see DEST), and the row counter of the data stream restarts at 0.
SETUP must have been done first.
Response
OK START
Errors
| Reply | Condition |
|---|---|
ERR START running | Acquisition is already running. |
ERR START not_setup | SETUP has not been done (or was invalidated). |
Example
start.py
from hmcls_udp import Board
board = Board("192.168.1.11")
try:
board.request("START")
except RuntimeError as err: # e.g. "START not_setup"
print("cannot start:", err)