We are closed from December 18, 2024 to January 5, 2025. Orders placed during this time will be processed starting on January 6, 2025.

Python application

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())

See also

[email protected]