Connecting to Razorbill RP100 by Razorbill in Python
Instrument Card
The RP100 is a two channel, sink-source power supply designed to drive the CS100 series strain cells and the FC100 series stress cells. This power supply can be used in conjunction with the corresponding range of compatible Razorbill Instruments products to tune the electronic properties of materials by applying controlled strains and stresses to the material.
Device Specification: here
Manufacturer card: RAZORBILL
Manufacturer of precision instruments intended for use in fundamental physics and space applications. The company manufactures electromechanical mechanisms to apply tunable uniaxial strains at low temperatures and high magnetic fields and provides expertise in the field of design for cryogenic environments, compliant mechanisms and compact systems for applying and measuring strain, enabling clients to incorporate a number of unique key technologies that allow them to have such high performance and repeatability.
- Headquarters: Edinburgh, United Kingdom
- Yearly Revenue (millions, USD): 5
- Vendor Website: here
Demo: Measure a solar panel IV curve with a Keithley 2400
Connect to the Razorbill RP100 in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
This code defines a class razorbillRP100
that represents a Razorbill RP100 strain cell controller. It inherits from the Instrument
class provided by the pymeasure.instruments
module.
The class provides various control and measurement properties for interacting with the Razorbill RP100 power supply. Hereโs a breakdown of the properties:
output_1
: A control property that turns the output of channel 1 on or off. It accepts a boolean value and maps it to 1 or 0 in the command string.output_2
: Similar tooutput_1
, but for channel 2.voltage_1
: A control property that sets or queries the output voltage of channel 1. It accepts a float value within the range [-230, 230].voltage_2
: Similar tovoltage_1
, but for channel 2.slew_rate_1
: A control property that sets or queries the source slew rate in volts/sec of channel 1. It accepts a float value within the range [0.1 * 10e-3, 100 * 10e3].slew_rate_2
: Similar toslew_rate_1
, but for channel 2.instant_voltage_1
: A measurement property that returns the instantaneous output of source one in volts.instant_voltage_2
: Similar toinstant_voltage_1
, but for source two.contact_voltage_1
: A measurement property that returns the voltage in volts present at the front panel output of channel 1.contact_voltage_2
: Similar tocontact_voltage_1
, but for channel 2.contact_current_1
: A measurement property that returns the current in amps present at the front panel output of channel 1.contact_current_2
: Similar tocontact_current_1
, but for channel 2.
The razorbillRP100
class also has an __init__
method that initializes the instrument with the provided adapter and sets a timeout of 20 seconds.