Connecting to PL303QMT-P by Aimtti in Python
Instrument Card
Bench/System Linear Regulated DC Power Supply Triple Ouput, 2 x 30V/3A plus 6V/6A, USB, RS232 & LAN Interfaces
Device Specification: here
Manufacturer card: AIMTTI
TTi (Thurlby Thandar Instruments) is a leading manufacturer of electronic test and measurement instruments. These products are sold throughout the world via carefully selected distributors and agents in each country. We are located in Huntingdon near to the famous university city of Cambridge, within one of the high technology areas of the United Kingdom.
- Headquarters: UK
- Yearly Revenue (millions, USD): 9000
- Vendor Website: here
Demo: Measure a solar panel IV curve with a Keithley 2400
Connect to the PL303QMT-P in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
Here is a Python script that uses Qcodes to connect to a PL303QMT-P Power Supply:
This script defines two classes: AimTTiChannel
and AimTTi
. AimTTiChannel
represents a single channel of the Aim TTi power supply and AimTTi
represents the entire power supply instrument.
In the AimTTiChannel
class, two parameters are defined: volt
and curr
. These parameters allow you to get and set the voltage and current values of the channel.
In the AimTTi
class, a ChannelList
is created to hold the channels of the power supply. The number of channels is set to 3. Each channel is represented by an instance of AimTTiChannel
and added as a submodule to the AimTTi
instrument.
Finally, an instance of AimTTi
is created with the name โaim_ttiโ and the VISA address of the power supply.