Connecting to IP Power 9258 S by Aviosys in Python
Instrument Card
IP9258 is a web controller which can be easily used in the industry field
Device Specification: here
Manufacturer card: AVIOSYS
Aviosys IP POWER is a remote power management device that allows you to control power on/off and monitor power status of connected devices
- Headquarters: Taiwan
- Yearly Revenue (millions, USD): 5
- Vendor Website: here
Demo: Measure a solar panel IV curve with a Keithley 2400
Connect to the IP Power 9258 S in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to an Aviosys IP Power 9258S power supply using Qcodes Community, you can use the following Python script:
from qcodes import Stationfrom qcodes.instrument_drivers.Aviosys_IP_Power_9258S import Aviosys_IP_Power_9258S
# Create a station to hold the instrumentstation = Station()
# Define the instrument settingsinstrument_name = 'power_supply'address = 'http://<ip_address>'login_name = '<login_name>'login_password = '<login_password>'
# Create the instrument instancepower_supply = Aviosys_IP_Power_9258S(instrument_name, address, login_name, login_password)
# Add the instrument to the stationstation.add_component(power_supply)
# Connect to the instrumentpower_supply.connect()
# Access the power channelschannel_A = power_supply.channels.ChanAchannel_B = power_supply.channels.ChanB
# Turn on channel Achannel_A.power_enabled.set(1)
# Turn off channel Bchannel_B.power_enabled.set(0)
# Disconnect from the instrumentpower_supply.disconnect()
Make sure to replace <ip_address>
, <login_name>
, and <login_password>
with the actual IP address, login name, and login password of your Aviosys IP Power 9258S power supply.