Skip to main content

Keysight E36154A PSU Driver and Diagnostic Package

Project description

Keysight-E36154A-PSU

cd keysight-e36154a-psu
git clone git@gitlab.com:pass-testing-solutions/keysight-e36154a-psu.git
git remote add origin https://gitlab.com/pass-testing-solutions/keysight-e36154a-psu.git
git pull origin main
git checkout -b <your-new-branch>  # Please follow the branch naming convention as mentioned in the coding guidelines

Description

This is an interface library for the Keysight E36154A PSU with an Autorange of 30V, 80A, 800W.

Installation

pip install keysight_e36154a_psu

Usage

Driver Functions

class pts_keysight_e36154a_psu.keysight_E36154A_psu.KeySightPsuE36154A(connection_string)

Bases: object

Base class for the Keysight E36154A PSU

open_connection()

Opens a TCP/IP connection to the Keysight DAQ 34980A

close_connection()

Closes the TCP/IP connection to the Keysight E36154A PSU

factory_reset()

This function helps factory reset the Keysight E36154A PSU

selftest()

This function self tests the Keysight E36154A PSU

id_number()

This function returns the ID number of the Keysight E36154A PSU

set_voltage(voltage)

Sets voltage output for E36154A PSU

Parameters

voltagefloat : in Volts

Returns

None

set_current(current)

Sets current output for E36154A PSU

Parameters

currentfloat: in Amps

Returns

None

check_voltage()

Checks the set voltage for E36154A PSU

Returns

float : voltage in Volts

check_current()

Checks the set current for E36154A PSU

Returns

float : current in Amps

measure_voltage()

Measures output voltage for E36154A PSU

Returns

float : voltage in Volts

measure_current()

Measures output current for E36154A PSU

Returns

float : current in Amps

check_min_max_voltage()

Check the minimum and maximum voltage range

Returns

Tuple: Voltage in Volts

check_min_max_current()

Check the minimum and maximum current range

Returns

Tuple: Current in Amps


Authors and acknowledgment

Author: Shuparna Deb (@shuparnadeb_pts)

License

License: MIT

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_keysight_e36154a_psu-0.0.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pts_keysight_e36154a_psu-0.0.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pts_keysight_e36154a_psu-0.0.1.tar.gz.

File metadata

  • Download URL: pts_keysight_e36154a_psu-0.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 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_keysight_e36154a_psu-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5380ec0050011228128f8c7ed252d7d31df18c557c113e4f27686d7ad1b0c5ad
MD5 c767d2e621a0f23ed6e5415c940aa22d
BLAKE2b-256 5b0e98304973c73690e957e9d90901c92e326f3c33e6ed310c5c2f229ea883f0

See more details on using hashes here.

File details

Details for the file pts_keysight_e36154a_psu-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pts_keysight_e36154a_psu-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 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_keysight_e36154a_psu-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b963169de0225f9cefd2490806cb3a51c217d6070cfe2eed253461d44ffdc4e6
MD5 2cfcfd9b0b6564c3678c083339ab0f7a
BLAKE2b-256 2e0cd0d6748906e9372cee4247fbf56be1ae69f8dccf8658f75b6fe3e99d5ad8

See more details on using hashes here.

Supported by

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