Python interface for an ISEG NHR high-voltage power supply
Project description
iseg-nhr
Python interface for an ISEG NHR high-voltage power supply
Example
from iseg_nhr import NHR, Polarity
psu = NHR("COM3")
polarity = psu.channel0.voltage.polarity
print(polarity)
psu.channel0.voltage.setpoint = 1_000
psu.channel0.on()
print(psu.channel0.voltage.measured)
print(psu.channel0.current.measured)
Implementation
The main NHR class has the following attributes and methods:
NHR
channel{i}
Channelclass specifying all options for a specific channelsupply
Supplyclass containing the supply voltagesidentity
*IDN?; model, serial number etc.status_clear()
*CLSreset
*RSToperation_complete
*OPCinstruction_set
instruction set used by the modulelockout()
Disable local control of the modulelocal()
Enable local control of the modulecontrol_register
module control registerstatus_register
module status registerevent_register
module event registerevent_clear()
clear the module event registertemperature
module temperaturenumber_channels
number of module channelsfirmware_version
firmware versionfirmware_release
firmware release dateconfig
config mode, either normal or configuration modeconfig_save
save current configurationvoltages
return the measured voltage of each channelcurrents
return the measured current of each channelsetpoints
return the setpoint voltage of each channelon([0,1])
turn on channels 0 and 1off([0,1])
turn off channels 0 and 1
Channel
voltage
Voltageclasscurrent
Currentclasson_state
boolean for on state of channelon()
turn channel onoff()
turn channel offemergency_off()
turn channel off immidiately, ignoring ramp settingsemergency
boolean for channel emergencyemergency_clear
clear channel emergencyevent_clear()
clear channel eventscontrol_register
channel control registerstatus_register
channel status registerevent_register
channel event registerpolarity
channel polaritypolarity_list
list of channel polarity optionsoutput_mode
channel output modeoutput_mode_list
channel output mode optionsinhibit
channel inhibit settinginhibit_options
channel inhibit options
Voltage
ramp
Rampclassmeasured
measured output voltagesetpoint
voltage setpointlimit
voltage limitmaximum
nominal output voltagemaximum
voltage mode with polarity signmode_list
voltage mode optionsbounds
output voltage bounds
Current has the same attributes and methods, excluding the setpoint
Ramp
speed
ramp speed in unit/sspeed_up
upward ramp speed in unit/sspeed_down
downward ramp speed in unit/sspeed_min
minimum ramp speed in unit/sspeed_maxmaximum ramp speed in unit/s
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iseg_nhr-0.2.0.tar.gz.
File metadata
- Download URL: iseg_nhr-0.2.0.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a683cf1f45a978b1c3208148d877962976bdd54858f1cc41d340f7b6e79be014
|
|
| MD5 |
5442fe333655f661cd688df78316aa6e
|
|
| BLAKE2b-256 |
ff285e93bd1078fbabad1f39cdbf32feed55cf0717dc2e0a1e8d0fa005703081
|
Provenance
The following attestation bundles were made for iseg_nhr-0.2.0.tar.gz:
Publisher:
publish.yml on ograsdijk/iseg-nhr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iseg_nhr-0.2.0.tar.gz -
Subject digest:
a683cf1f45a978b1c3208148d877962976bdd54858f1cc41d340f7b6e79be014 - Sigstore transparency entry: 1819437904
- Sigstore integration time:
-
Permalink:
ograsdijk/iseg-nhr@23eb879ffaadfc11e310a6b9015c71b1c3f22059 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/ograsdijk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@23eb879ffaadfc11e310a6b9015c71b1c3f22059 -
Trigger Event:
release
-
Statement type:
File details
Details for the file iseg_nhr-0.2.0-py3-none-any.whl.
File metadata
- Download URL: iseg_nhr-0.2.0-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54aa695c4ea6dfec1f5831420dd577fc05939bd5e2cd87a9ba853c22dfd11fa8
|
|
| MD5 |
31ca845dc46b885c8d61bf8460ab4aa6
|
|
| BLAKE2b-256 |
0fbb91a1dd8a22cd34fab40a2cbc912d11a497ded5a81feab6ab97ae14585018
|
Provenance
The following attestation bundles were made for iseg_nhr-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on ograsdijk/iseg-nhr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iseg_nhr-0.2.0-py3-none-any.whl -
Subject digest:
54aa695c4ea6dfec1f5831420dd577fc05939bd5e2cd87a9ba853c22dfd11fa8 - Sigstore transparency entry: 1819438045
- Sigstore integration time:
-
Permalink:
ograsdijk/iseg-nhr@23eb879ffaadfc11e310a6b9015c71b1c3f22059 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/ograsdijk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@23eb879ffaadfc11e310a6b9015c71b1c3f22059 -
Trigger Event:
release
-
Statement type: