GET_CHIP_MODE
Syntax
GET_CHIP_MODE
Description
Returns the current acquisition mode (see SET_CHIP_MODE). The mode is also reported by the mode field of INFO.
Response
CHIP_MODE <HW|SIM>
| Value | Meaning |
|---|---|
HW | Real acquisition from the connected headstage. |
SIM | Simulation: synthetic data. |
Example
get_chip_mode.py
from hmcls_udp import Board
board = Board("192.168.1.11")
mode = board.query("GET_CHIP_MODE")[0].split()[1]
print("mode:", mode)