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 strirrer:
        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.2.0.tar.gz (23.8 kB view details)

Uploaded Source

Built Distribution

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

ika_control-0.2.0-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file ika-control-0.2.0.tar.gz.

File metadata

  • Download URL: ika-control-0.2.0.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.16

File hashes

Hashes for ika-control-0.2.0.tar.gz
Algorithm Hash digest
SHA256 98f235ea4578aed033ca03ae4d601a3825f48a876233d198af379053583acb0a
MD5 8a00f9631b8e1f085fb1db88281f9c0e
BLAKE2b-256 669723e2ce1b6c8c870d2d4527f6f82890e7790de0eb1ba7b564e7a852c4c0d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ika_control-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.16

File hashes

Hashes for ika_control-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e26147828fcf856ff41f4ccb770f141f8eaac2f26648584fe352f1797b2d972
MD5 32c2082d86ce2848cc14e1cdee5beeb5
BLAKE2b-256 2b6e763df880312e3bd8e6acf73a262c13c46bcd9dc7894c196b402093798e9a

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