Files
linuxcncAllWasm/configs/sim/axis/plasma/user_periodic.py
2026-08-20 06:17:39 +08:00

10 lines
362 B
Python

# CUSTOM PERIODIC CODE, RUNS ONCE EVERY CYCLE
# see the file customizing.html for some tips
# example to create a file with all the widget names if a hal pin is not zero
#if comp['my-halbit']:
# widgets = get_all_children('.')
# with open('./widgets.txt', 'w') as outFile:
# for widget in sorted(widgets):
# outFile.write(f'{widget}\n')