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
Release files for pts-itech-m3905d-psu 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pts_itech_m3905d_psu-0.0.2.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pts_itech_m3905d_psu-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.9 kB
Release files / pts_itech_m3905d_psu-0.0.2.tar.gz
| Download URL | pts_itech_m3905d_psu-0.0.2.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e49beae2efd85f327f939a82b819a5eeb3c2c7f16862fb0828cd96a64a1bd88
|
|
BLAKE2b-256 checksum How to use checksums |
e0d642b8ab70c5cc89b044ea7c8270c65f820b2bedfce5c314e3e0ad9f33c106
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.19 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15
|
Release files / pts_itech_m3905d_psu-0.0.2-py3-none-any.whl
| Download URL | pts_itech_m3905d_psu-0.0.2-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5be886f1d2ed6d329bb163f5d788fbbeaff958310e1e0c587405d135f6a84ded
|
|
BLAKE2b-256 checksum How to use checksums |
66450c33c8465eceea199c92186df64df696d0ea9182786728199b990bf24fbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.19 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15
|