sknrf.device.instrument.shared.switch.MiniCircuits_RC_2SP6T_A12 module

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

The GNU General Public License can be found at <http://www.gnu.org/licenses/>.

class sknrf.device.instrument.shared.switch.MiniCircuits_RC_2SP6T_A12.MiniCircuits_Switch(address='USB::0x20CE::0x0022', ip_address='')

Bases: object

Operate a Mini Circuits matrix switch RC-2SP6T-A12.

switch_map = {1: 'A', 2: 'B'}
ip_address = ''
preset()
get_device_model_name()

Read the device model name of the RF matrix switch.

get_device_serial_number()

Read the serial number of the RF matrix switch.

get_firmware()

Read the firmware of the RF matrix switch.

get_dhcp_status()

Get the dhcp status

set_dhcp_status(dhcp_status)

Set the dhcp status

get_static_ip_address()

Get the static ip address

set_static_ip_address(ip_address)

Set the static ip address

get_static_subnet_mask()

Get the static subnet mask

set_static_subnet_mask(subnet_mask)

Set the static subnet mask

get_static_network_gateway()

Get the static network gateway

set_static_network_gateway(network_gateway)

Set the static network gateway

get_http_port()

Get the static http port

set_http_port(port)

Set the static http port

get_use_password()

Get the use_password

set_use_password(password)

Set the use_password

switch(switch)

Set the switch “sw” to channel “state”.

set_switch(switch, state)

Set the switch “sw” to channel “state”.