set_antenna()#
- InstroSDR.set_antenna( ) Command[source]#
Set the antenna port and publish it as
antenna.cmd.- Parameters:
antenna (str) – Port name, one of the driver’s
list_antennas.direction (Direction) – Signal path,
Direction.RXorDirection.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:
Command – The published command.