Text this: Application of multithreading technique for multiple input and multiple output mechatronic system