Threading Termination

I’m on mobile, so I can’t easily check documentation for frontpanel. Regardless, the target argument to threading.Thread must be a callable (eg function or class), and you can pass its arguments into the args parameter. Try running

threading.Thread(target=FP.frontPanel)