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.2.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

pts_keysight_e36154a_psu-0.0.2-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

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