I have a script with a GUI that takes user input and sends messages from that input to a serial port at a rate determined by one of the GUI values.
The main loop simply r