record.py - example of recording realtime data from selected channels. example_control_loop.py - example for controlling robot motion. Program moves robot between 2 setpoints. Copy ...
Check if a file is really a file, whether a string contains anything, and whether you can run a program with these vital patterns.