hw_isprog()

Checks if the controller is running a program.

Syntax

planetcnc.hw_isprog()

Parameters

Parameter Type Description Comment
None

Return Value

Examples

#! /usr/bin/env python
 
import planetcnc
 
result = planetcnc.hw_isprog()
print("Program running:", result)

See also