Python application
Koheron SDK 0.x documentation.
You are reading the stable documentation used by most existing customers. This version uses
CONFIG=.../config.yml and the legacy 0.x instrument flow.
Prerequisites
- Install
koheron-python(pip install koheron) - Install
numpy(pip install numpy)
Overview
The function connect is available in the Koheron Python library.
It creates a client object with a TCP connection to the instrument.
connect(host, instrument_name)
Example
The Python driver is called as follows:
from koheron import connect
from led_blinker import LedBlinker
client = connect('192.168.1.100', 'led-blinker')
driver = LedBlinker(client)
print(driver.get_forty_two())
