Connecting to AMI 430 by American Magnetics in Python
Instrument Card
The AMI Model 430 Power Supply Programmer is a sophisticated digital power supply controller that allows an operator to manage a superconducting magnet system with unprecedented accuracy and ease.
Device Specification: here
Manufacturer card: AMERICAN MAGNETICS
American Magnetics - Excellence in Magnetics and Cryogenics, since 1968
- Headquarters: US
- Yearly Revenue (millions, USD): 13
- Vendor Website: here
Demo: Measure a solar panel IV curve with a Keithley 2400
Connect to the AMI 430 in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to an AMI 430 Power Supply using Qcodes, you can use the following code:
from qcodes.instrument_drivers.american_magnetics.AMI430 import AMI430
# Create an instance of the AMI430 instrumentami430 = AMI430("ami430", "TCPIP::192.168.1.1::7180::SOCKET")
# Connect to the instrumentami430.connect()
# Now you can use the instrument to control the power supply# For example, you can set the field to a specific valueami430.field(0.5) # Set the field to 0.5 Tesla
# You can also read the current field valuefield = ami430.field()print("Current field:", field)
# When you are done, remember to disconnect from the instrumentami430.disconnect()
Make sure to replace "TCPIP::192.168.1.1::7180::SOCKET"
with the actual IP address and port of your AMI 430 Power Supply.