get_gain_mode()# InstroSDR.get_gain_mode( *, direction: Direction = Direction.RX, channel: str = '0', **kwargs: Any, ) → Measurement[source]# Query the gain mode and publish it as gain_mode. Parameters: direction (Direction) – Signal path, Direction.RX or Direction.TX. channel (str) – Channel on that path, e.g. "0". **kwargs – Tags added to the published value, on top of the instrument’s default tags. Returns: Measurement – The published reading, True when AGC is in control.