IKA Microstar 75

PyLabware driver for IKA Microstar 75 overhead stirrer.

class PyLabware.devices.ika_microstar_75.Microstar75Stirrer(device_name, connection_mode, address, port)[source]

Bases: AbstractStirringController

This provides a Python class for the Microstar 75 overhead stirrer based on the english section of the original operation manual 20000008217b_EN_IKA MICROSTAR control_072019_web

Default constructor.

Parameters:
  • device_name (str) –

  • connection_mode (str) –

  • address (str | None) –

  • port (str | int) –

change_rotation_direction()[source]

Swaps current rotation direction.

check_errors()[source]

Not supported on this device.

clear_errors()[source]

Not supported on this device.

get_rotation_direction()[source]

Gets current rotation direction.

Return type:

str

get_speed()[source]

Gets actual rotation speed.

Return type:

int

get_speed_setpoint()[source]

Gets desired rotation speed.

Return type:

int

get_status()[source]

Not supported on this device.

initialize_device()[source]

Performs device initialization. Updates internal variable with the actual speed setpoint from the device.

is_connected()[source]

Checks whether device is connected.

Return type:

bool

is_idle()[source]

Checks whether device is ready.

Return type:

bool

reset()[source]

Switches back to local control, according to the manual

set_rotation_direction(direction='CW')[source]

Sets desired rotation direction - CW or CCW.

Parameters:

direction (str) –

set_speed(speed)[source]

Sets rotation speed.

Parameters:

speed (int) –

start_stirring()[source]

Starts rotation.

stop_stirring()[source]

Stops rotation.

class PyLabware.devices.ika_microstar_75.Microstar75StirrerCommands(*args, **kwargs)[source]

Bases: LabDeviceCommands

Collection of command definitions for Microstar 75 overhead stirrer.

This class shouldn’t be instantiated

DEFAULT_NAME = 'Microstar C'
GET_INT_PT1000 = {'name': 'IN_PV_3', 'reply': {'args': [-2], 'parser': <function slicer>, 'type': <class 'float'>}}
GET_NAME = {'name': 'IN_NAME', 'reply': {'type': <class 'str'>}}
GET_ROTATION_DIR = {'name': 'IN_MODE', 'reply': {'args': [-1], 'parser': <function slicer>, 'type': <class 'str'>}}
GET_SPEED = {'name': 'IN_PV_4', 'reply': {'args': [-2], 'parser': <function slicer>, 'type': <class 'int'>}}
GET_SPEED_LIMIT = {'name': 'IN_SP_6', 'reply': {'args': [-2], 'parser': <function slicer>, 'type': <class 'float'>}}
GET_SPEED_SAFETY = {'name': 'IN_SP_8', 'reply': {'args': [-2], 'parser': <function slicer>, 'type': <class 'float'>}}
GET_SPEED_SET = {'name': 'IN_SP_4', 'reply': {'args': [-2], 'parser': <function slicer>, 'type': <class 'int'>}}
GET_TORQUE = {'name': 'IN_PV_5', 'reply': {'args': [-2], 'parser': <function slicer>, 'type': <class 'float'>}}
GET_TORQUE_LIMIT = {'name': 'IN_SP_5', 'reply': {'args': [-2], 'parser': <function slicer>, 'type': <class 'float'>}}
RESET = {'name': 'RESET'}
ROTATION_DIRECTIONS = {'IN_MODE_1': 'CW', 'IN_MODE_2': 'CCW'}
SET_ROTATION_DIR_CCW = {'name': 'OUT_MODE_2', 'reply': {'type': <class 'str'>}}
SET_ROTATION_DIR_CW = {'name': 'OUT_MODE_1', 'reply': {'type': <class 'str'>}}
SET_SPEED = {'check': {'max': 2000, 'min': 30}, 'name': 'OUT_SP_4', 'type': <class 'int'>}
SET_SPEED_LIMIT = {'check': {'max': 2000, 'min': 30}, 'name': 'OUT_SP_6', 'type': <class 'int'>}
SET_SPEED_SAFETY = {'name': 'OUT_SP_8'}
SET_TORQUE_LIMIT = {'name': 'OUT_SP_5', 'type': <class 'int'>}
START = {'name': 'START_4'}
STOP = {'name': 'STOP_4'}