Connecting to IPS 120 10 by Oxford Instruments in Python
Instrument Card
MERC-IPS-120 MercuryIPS 120 A 10 V superconducting magnet power supply. The Mercury iPS is configurable and is made up of two units: The Mercury main unit E1-060 and Mercury secondary slave unit E1-061.
Device Specification: here
Manufacturer card: OXFORD INSTRUMENTS
Oxford Instruments plc is a United Kingdom manufacturing and research company that designs and manufactures tools and systems for industry and research. The company is headquartered in Abingdon, Oxfordshire, England, with sites in the United Kingdom, United States, Europe, and Asia.[2] It is listed on the London Stock Exchange and is a constituent of the FTSE 250 Index.[3]
- Headquarters: Abingdon, United Kingdom
- Yearly Revenue (millions, USD): 367.3
- Vendor Website: here
Demo: Measure a solar panel IV curve with a Keithley 2400
Connect to the IPS 120 10 in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
from pymeasure.instruments import OxfordInstrumentsIPS120_10
# Connect to the IPS 120-10 Power Supplyips = OxfordInstrumentsIPS120_10("GPIB::25")
# Enable control of the power supplyips.enable_control()
# Train the magnet after it has been cooled-downtraining_scheme = [ (11.8, 1.0), (13.9, 0.4), (14.9, 0.2), (16.0, 0.1),]ips.train_magnet(training_scheme)
# Set the magnetic field to 12 Teslaips.set_field(12)
# Print the current fieldprint(ips.field)
# Set the magnetic field to 0 Teslaips.set_field(0)
# Disable control of the power supplyips.disable_control()
Note: Make sure to replace "GPIB::25"
with the appropriate address for your IPS 120-10 Power Supply.