LOWER
Syntax
LOWER <Hz>
Description
Sets the lower cut-off of the analog amplifier, in Hz: signals below this frequency are attenuated (high-pass). Any positive value is accepted; the hardware applies the closest available step, and the reply tells which one.
SETUP must have been done, and acquisition must be stopped. The value is kept by the board and re-applied by every later SETUP.
Parameters
| Parameter | Type | Description |
|---|---|---|
<Hz> | number > 0 | Requested cut-off frequency. |
Response
OK LOWER request=<Hz> applied=<Hz>
Errors
| Reply | Condition |
|---|---|
ERR LOWER not_setup | SETUP has not been done. |
ERR LOWER running | Acquisition is running. |
ERR LOWER busy | Another operation is in progress. |
ERR LOWER bad_arg | Missing or non-positive value. |
Example
lower.py
from hmcls_udp import Board
board = Board("192.168.1.11")
board.request("STOP")
reply = board.request("LOWER 300")
print("applied:", reply["applied"], "Hz")