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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ika_control-0.6.1.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.1.tar.gz
Algorithm Hash digest
SHA256 fa2df3d9c445d22ea522b067428e757c3e2e2b9399390b70c7c071cd772bf49d
MD5 6d1437fa739b2547d9307d99ad8b5124
BLAKE2b-256 e57d48635f210d61932af1a252d90486da01ae355378102e52e38ed0a9d2c4b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ika_control-0.6.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93efacbc609830eb8c7fccc98662a36718f838d06fa72f05b9013add500230eb
MD5 78b4daac1b49a7c091df7b249041fb61
BLAKE2b-256 3a23da595273a41600528c2fa9fc6c33321c228d44a6927b4e0744ebeacfbde1

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