Aim-TTi
AimTTiEL302P Power Supply
- class instruments.aimtti.AimTTiEL302P(filelike, *args, **kwargs)[source]
The Aim-TTI EL302P is a single output power supply.
Because it is a single channel output, this object inherits from both PowerSupply and PowerSupply.Channel.
Before this power supply can be remotely operated, remote communication must be enabled and the unit must be on. Please refer to the manual.
Example usage:
>>> import instruments as ik >>> psu = ik.aimtti.AimTTiEL302P.open_serial('/dev/ttyUSB0', 9600) >>> psu.voltage = 10 # Sets output voltage to 10V. >>> psu.voltage array(10.0) * V >>> psu.output = True # Turns on the power supply
- class Error(*values)[source]
Enum containing the possible error codes returned by the instrument.
- error_none = 'ERR 0'
No errors
- error_not_recognized = 'ERR 1'
Command not recognized
- error_outside_limits = 'ERR 2'
Command value outside instrument limits
- class Mode(*values)[source]
Enum containing the possible modes of operations of the instrument.
- current = 'M CC'
Constant current mode
- voltage = 'M CV'
Constant voltage mode
- property channel
Return the channel (which in this case is the entire instrument, since there is only 1 channel on the EL302P.)
- Return type:
‘tuple’ of length 1 containing a reference back to the parent EL302P object.
- property current
Gets/sets the output current of the source. Value must be between 0.01A and 2A.
- Units:
As specified, or assumed to be \(\text{A}\) otherwise.
- Type:
floatorQuantity
- property current_max
- property current_min
- property current_sense
Gets the actual output current measured by the power supply.
- Units:
\(\text{A}\)
- Return type:
- property error
Gets the value in the error register.
- property mode
Gets output mode status.
- property name
Gets the name of the connected instrument.
- Return type:
str
- property output
Gets/sets the output status for the power supply channel. This is an abstract method.
- Type:
bool
- property voltage
Gets/sets the output voltage of the source. Value must be between 0V and 30V.
- Units:
As specified, or assumed to be \(\text{V}\) otherwise.
- Type:
floatorQuantity
- property voltage_max
- property voltage_min