Skip to main content

Library to control Zahner Potentiostats.

Project description

zahner_potentiostat

zahner_potentiostat is a library to control external Zahner Potentiostats like PP212, PP222, PP242, XPOT2 or EL1002.

It was developed to easily integrate external Zahner Potentiostats into Python scripts for more complex measurement tasks and for automation purposes.

The control concept is that there are different primitives which can be combined for different electrochemical measurement methods.
These primitives can all be configured differently to match the application. In the documentation in the respective function all possible configuration setter methods are listed. The complete documentation of the functions can be found on the API documentation website.

[!NOTE]
Only with this library and a PP212, PP222, PP242, EL1002 or XPOT2 device you can not use AC methods. For AC methods like EIS a Zennium with EPC and the thales_remote library is necessary.

The following primitives are available to compose methods with:

And as an example, the following methods were developed from the primitives:

Further measurements like EIS and CV can be done in connection with a Zennium with the package thales_remote.

🔧 Installation

The package can be installed via pip.

pip install zahner_potentiostat

🔨 Basic Usage

'''
Search the Zahner Potentiostat
'''
deviceSearcher = SCPIDeviceSearcher()
deviceSearcher.searchZahnerDevices()
commandSerial, dataSerial = deviceSearcher.selectDevice("35000")

'''
Connect to the Potentiostat
'''
ZahnerPP2x2 = SCPIDevice(SerialCommandInterface(commandSerial), SerialDataInterface(dataSerial))

'''
Setup measurement
'''
ZahnerPP2x2.setSamplingFrequency(25)
ZahnerPP2x2.setCoupling(COUPLING.POTENTIOSTATIC)
ZahnerPP2x2.setMaximumTimeParameter(15)

'''
Start measurement
'''
ZahnerPP2x2.setVoltageParameter(0)
ZahnerPP2x2.measurePolarization()

📖 Examples

The application of the library is shown in the example repository Zahner-Remote-Python.

📧 Having a question?

Send an e-mail to our support team.

⁉️ Found a bug or missing a specific feature?

Feel free to create a new issue with a respective title and description on the the Zahner-Remote-Python repository. If you already found a solution to your problem, we would love to review your pull request!

✅ Requirements

Programming is done with the latest python version at the time of commit.
The only mandatory library is the pySerial library. Also numpy and matplotlib are needed if you want to plot the data.

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

zahner_potentiostat-1.1.2.tar.gz (52.7 kB view details)

Uploaded Source

Built Distribution

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

zahner_potentiostat-1.1.2-py3-none-any.whl (57.0 kB view details)

Uploaded Python 3

File details

Details for the file zahner_potentiostat-1.1.2.tar.gz.

File metadata

  • Download URL: zahner_potentiostat-1.1.2.tar.gz
  • Upload date:
  • Size: 52.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for zahner_potentiostat-1.1.2.tar.gz
Algorithm Hash digest
SHA256 cbca9a5db32ae5d78dc189e79f368253899be78406dd96fa960290a29c5c4af6
MD5 1eadf450868f4c7c191e17489339f268
BLAKE2b-256 ff5870efe49e20ac0a57856b72ed9f56f957da2d388624b6fa6338597827f54e

See more details on using hashes here.

File details

Details for the file zahner_potentiostat-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for zahner_potentiostat-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2e78277e44490bf1122502f22cad0531db4c37696c46bc2508cf0d58df15e653
MD5 2eb1f8f0897ce5d85cd8538a0ded344c
BLAKE2b-256 55476d90afe9a6b06c3a8e461291d6df829706412564089b2e8dcdf6a6a34da5

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