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

Uploaded Source

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