Skip to main content

Python driver for IKA instruments.

Project description

ika

Python ≥3.8 driver and command-line tool for IKA products.

  • Eurostar 60/100 control overhead stirrers
  • MATRIX ORBITAL shaker
  • RET control-visc hotplate/stirrer
  • Vacstar control vacuum pump

Installation

pip install ika-control

Usage

Command Line

$ ika <serial-to-ethernet-ip>:<port> --type hotplate
$ ika <serial-to-ethernet-ip>:<port> --type overhead
$ ika <serial-to-ethernet-ip>:<port> --type shaker
$ ika <serial-to-ethernet-ip>:<port> --type vacuum

Python

This uses Python ≥3.5's async/await syntax to asynchronously communicate with an IKA device. For example:

import asyncio
from ika import Hotplate, OverheadStirrer

async def get():
    async with OverheadStirrer('ip-address:port') as stirrer:
        print(await stirrer.get())
    async with Hotplate('ip-address:port') as hotplate:
        print(await hotplate.get())


asyncio.run(get())

Hardware configuration

For Control-Visc hotplates, make sure the "Eurostar" control option is turned off in the system settings. Otherwise, the device will turn the heater off when the serial cable is unplugged.

Acknowledgements

©2023 Alexander Ruddick

Uses code from the Hein group, but otherwise no affiliation. As of 2023, that project appears to have been abandoned.

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

ika_control-0.6.0.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

ika_control-0.6.0-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file ika_control-0.6.0.tar.gz.

File metadata

  • Download URL: ika_control-0.6.0.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for ika_control-0.6.0.tar.gz
Algorithm Hash digest
SHA256 b6d6b39ded89fb166d0a282de4098ad0ce07f736c4d18586d301fc2676bb4128
MD5 1117bb74675b7daafc0eb93063f1feb3
BLAKE2b-256 d850dc89dfb6e4d72efd2b8fe7e033dff6176572c5cbecd96af263e67551feac

See more details on using hashes here.

File details

Details for the file ika_control-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: ika_control-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for ika_control-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 574ea1a8b45d7c8bf87a918cab947a41be6514ad04397b5b4b3979e8b030d132
MD5 4cde801c59f801dbbfc33526c50dcc72
BLAKE2b-256 7857be6f03ec02aaa0ee482745ab9b7bbbce7eb08f709cc21311c6d325c1c5e8

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