Chroma.Source¶
Code author: Kevin Kennedy <protonyx@users.noreply.github.com>
Limitations¶
This driver does not include any of the device programming functionality, it is assumed that an automated program would be designed in a script that uses this driver.
-
class
labtronyx.drivers.Chroma.Source.d_620XXP(resource, **kwargs)[source]¶ Driver for Chroma 6200P Series DC Power Supplies
-
enableRemoteInhibit()[source]¶ Enables the remote inhibit pin. This behaves as an external ON/OFF control.
-
getProtection()[source]¶ Get the protection set points
Returns: dict with keys [‘Voltage’, ‘Current’, ‘Power’]
-
getTerminalCurrent()[source]¶ Get the measured current from the terminals of the instrument
Returns: float
-
getTerminalPower()[source]¶ Get the measured power from the terminals of the instrument
Returns: float
-
getTerminalVoltage()[source]¶ Get the measured voltage from the terminals of the instrument
Returns: float
-
setCurrent(current)[source]¶ Set the output current level in Amps
Parameters: current (float) – Current (in Amps)
-
setMaxCurrent(current)[source]¶ Set the maximum output current
Parameters: current (float) – Current (in Amps)
-
setMaxVoltage(voltage)[source]¶ Set the maximum output voltage
Parameters: voltage (float) – Voltage (in Volts)
-
setMeasurementAverage(avg)[source]¶ Set the number of readings to average.
Parameters: avg (int) – Number of times to average (1, 2, 4 or 8)
-
setMeasurementAverageMethod(avg)[source]¶ Set the number of readings to average.
Parameters: avg (str) – Method (‘FIX’ or ‘MOV’)
-
setMeasurementSpeed(speed)[source]¶ Set the reading speed of the voltage/current sensor
Parameters: speed (int) – Samples per second (one of: 30, 60, 120, 240)
-
setProtection(voltage=None, current=None, power=None)[source]¶ Enable the protection circuitry. If any of the parameters is zero, that protection is disabled.
Parameters:
-
setSlewRate(voltage=None, current=None)[source]¶ Set the voltage and current rise/fall time of the power supply. Units are Volts per milliseconds.
Parameters:
-