Our offices will be closed from August 1, 2020 to August 16, 2020. No orders will be shipped during this time.

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]