hello, i am controlling with an arm system a GPIO port (similar like parallel port). The Port sends tacts to move step motors.
My Problem is: If i just control the motors, than GUI doesnt work. Easy solution is: qApp->processEvents(). But than comes another problem. If i interact with my GUI, the motors doesnt running with constant speed, also tact frequency changes because of processEvents().
I found that QTimer can give tacts till 1khz (also max. every 1 ms) but i need higher frequencies. Should i use a QThread? I have a 400Mhz process. He should be controll the motors and stay GUI "alive" without distortion.
I also could improve QIODevice anyhow that he sends the commands(tacts) constantly.
What would you prefer? I didnt found similar applications.
thanks
Bookmarks