ITech M3905D PSU Driver and Diagnostic Package
Project description
ITech M3905D PSU
Description
This is an interface library for the ITech M3905D Power Supply (10V - 510A)
Installation
pip install pts-itech-m3905d-psu
Usage
Driver Functions
Base class for the ITech M3905D PSU
- open_connection()
Opens a TCP/IP connection to the ITech M3905D PSU
- close_connection()
Closes the TCP/IP connection to the ITech M3905D PSU
- identity() str
This command is used to query the IDN of the device.
- scpi_version() str
This command is used to query the version number of the used SCPI command.
- reset() None
Resets the instrument to pre-defined values that are either typical or safe.
- system_remote() None
This command is used to set the instrument to the remote control mode via the communication interface.
- system_local() None
This command is used to set the instrument to local mode, i.e. panel control mode.
- system_error() str
This command is used to query the error information of the instrument.
- system_clear_error_queue() None
This command is used to clear the error queue.
- get_ip_address() str
This command is used to query the IP address of the instrument.
- get_subnetmask() str
This command is used to query the subnet mask of the LAN communication.
- selftest() bool
Self-test query. Performs an instrument self-test. If self-test fails, one or more error messages will provide additional information.
- Returns
True or False
- set_mode(mode: Literal['VOLT', 'CURR']) None
This command is used to set the working mode of the power supply.
VOLTage: Indicates that the power supply is operating in CV priority mode
CURRent: Indicates that the power supply is operating in CC priority mode
- Parameters
mode – ‘VOLT’ or ‘CURR’
- get_mode() str
This command is used to query the working mode of the power supply.
- Returns
‘VOLTage’ or ‘CURRent’
- set_voltage(voltage: Union[float, str]) None
This command is used to set the output voltage value Vset in CV priority mode
- Parameters
voltage – MINimum|MAXimum|DEFault|<value> ; Setting range: MIN to MAX; value: 0-10V
- get_voltage() str
This command is used to query the output voltage value Vset in CV priority mode.
- set_current(current: Union[float, str]) None
This command is used to set the output current value Iset in CC priority mode
- Parameters
range (current:MINimum|MAXimum|DEFault|<value> ; Setting) – MIN to MAX; value: 0-510A
- get_current() str
This command is used to query the output current value Iset in CC priority mode
- output_on() None
Enable the output.
- output_off() None
Disable the output.
- output_status() str
This command is used to query the status of the output: enabled or disabled.
- set_voltage_upper_limit(voltage_ul: Union[float, str]) None
This command is used to set the voltage upper limit value Vlim in CC priority mode
- Parameters
voltage_ul – MINimum|MAXimum|DEFault|<value>; value: 0-10V; Setting range: MIN to MAX
- set_voltage_lower_limit(voltage_ll: Union[float, str]) None
This command is used to set the voltage lower limit value Vl in CC priority mode
- Parameters
voltage_ll – MINimum|MAXimum|DEFault|<value>; value: 0-10V; Setting range: MIN to MAX
- get_voltage_limits() Tuple
This command is used to query the voltage upper limit value Vlim and voltage lower limit value Vl in CC priority mode.
- set_current_upper_limit(curr_ul: Union[float, str]) None
This command is used to set the current upper limit value Ilim value in CV priority mode
- Parameters
curr_ul – MINimum|MAXimum|DEFault|<value>; value: 0-510A; Setting range: MIN to MAX
- set_current_lower_limit(curr_ll: Union[float, str]) None
This command is used to set the current lower limit value I- in CV priority mode
- Parameters
curr_ll – MINimum|MAXimum|DEFault|<value> ; value: 0-510A; Setting range: MIN to MAX
- get_current_limits() Tuple
This command is used to query the current upper limit value Ilim and current lower limit value I- in CV priority mode.
Authors and acknowledgment
Author: @shuparnadeb_pts
Maintainers: @julianpass and @shuparnadeb_pts
License
Project status
Not in active maintenance
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pts_itech_m3905d_psu-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dd58c6f2be4c678231d7258d7cc8766df108a46b72e5ee55a62ac0607b79252 |
|
MD5 | 6adfb8d993390b52bb608419d5f8ad84 |
|
BLAKE2b-256 | 69102859708f67f70caab27a2da7807b3ea1fe39114a590ea9dff592345bcd8e |
Hashes for pts_itech_m3905d_psu-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e298be9c5b97ea1a59e6654e704d930496cea7af3410340899bd5da5ca28e10 |
|
MD5 | 25aff5a432231ee2094ad3602f1359a3 |
|
BLAKE2b-256 | 732da24ba53cd7196436577f0d5057f2fb836dcd245070ddd0ae123c9a68b994 |