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.3.0.tar.gz (23.9 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.3.0-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ika-control-0.3.0.tar.gz
  • Upload date:
  • Size: 23.9 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.17

File hashes

Hashes for ika-control-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b1d28baaf810c318a524c6ede1fa5c6cfa12c8665732cac979d30c69c4a695f5
MD5 5ee6dfec5fd9ac96f5b787686499ea59
BLAKE2b-256 facf63d826c05de889c687b28fe0b79f81143a6deadd3fb01972b92f67e932f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ika_control-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 24.4 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.17

File hashes

Hashes for ika_control-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 513eb39764a84294e41217113c6a6bfe87e90cff7397cb3fb8735c01465b1e2b
MD5 668d0cbc593612a4e8e1133ec53a0fc1
BLAKE2b-256 56b5681a260f07eb5dea1bf566a4fbe09a87071b00964ae3c705fb0f2285b0c2

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