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.4.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

pts_keysight_e36154a_psu-0.0.4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pts_keysight_e36154a_psu-0.0.4.tar.gz
Algorithm Hash digest
SHA256 aa785161f12f3d844b995e15124bffa92ac6f0c95726384c6eb5df8f4ce84c88
MD5 a30ae2d7cbe57a05ce7f0744e568e140
BLAKE2b-256 fe7a3b7f9b4c2f0ae79072589b8a2fadb378c957d7ec8fac6693d4252134f533

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pts_keysight_e36154a_psu-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 202fcd9c9b9e5624dd57de6597304904338b58033c32f8cc96bebc6a8e9be92f
MD5 b94e0535a1108e4d8a85a452e3e775dc
BLAKE2b-256 adbd7ef746a21f656822834329d9179e1b23ab47b9da11ce4b7a62c435ca8a53

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