Hi, Thanks for your response. The whole body of code is proprietary so I'm not sure I can share it in a public forum. However I can make a note that it used to work fine a month ago and after that no changes occurred to this code and no qt libraries were replaced, so the issue is like to be caused by hardware malfunction. Thanks again ))