Skip to main content

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

License: MIT

Project status

Not in active maintenance

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pts_itech_m3905d_psu-0.0.2.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

pts_itech_m3905d_psu-0.0.2-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file pts_itech_m3905d_psu-0.0.2.tar.gz.

File metadata

  • Download URL: pts_itech_m3905d_psu-0.0.2.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pts_itech_m3905d_psu-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8e49beae2efd85f327f939a82b819a5eeb3c2c7f16862fb0828cd96a64a1bd88
MD5 ebbfa712a6c65f1aaabcee5b3c439c58
BLAKE2b-256 e0d642b8ab70c5cc89b044ea7c8270c65f820b2bedfce5c314e3e0ad9f33c106

See more details on using hashes here.

File details

Details for the file pts_itech_m3905d_psu-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pts_itech_m3905d_psu-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pts_itech_m3905d_psu-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5be886f1d2ed6d329bb163f5d788fbbeaff958310e1e0c587405d135f6a84ded
MD5 a3de79703efab84397535e8afb27ddf0
BLAKE2b-256 66450c33c8465eceea199c92186df64df696d0ea9182786728199b990bf24fbf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page