LinuxCNC Documentation

This documentation describes the lcnc_realtime Python module, which provides a Python API for managing the realtime backend.

This is a Python wrapper of the realtime script.

1. Grundlegende Verwendung (engl. basic usage)

Verify realtime capability and check if the realtime backend is running
import lcnc_realtime

print("lcnc_realtime.verify " + str(lcnc_realtime.verify()))
print("lcnc_realtime.status " + str(lcnc_realtime.status()))

2. Methoden

hal.verify()

Returns a boolean to indicate whether the system is realtime capable.

hal.status()

Returns a boolean to indicate whether the realtime backend is running.