GET_TIME
Syntax
GET_TIME
Description
Returns the time elapsed since the last START, in milliseconds. Use it to timestamp events relative to the acquisition. Returns 0 when acquisition is not running.
Response
TIME <ms>
Example
get_time.py
from hmcls_udp import Board
board = Board("192.168.1.11")
ms = int(board.query("GET_TIME")[0].split()[1])
print(f"Elapsed: {ms} ms")