<span style>Hello All,</span><div style><br></div><div style>I have integrated an external device with VTK. When interacting using the external device things work fine for a few seconds but the attempt to re-render the GUI (qt based) window fail after a while. </div>
<div style><br></div><div style>I am using a vtk timer based approach to re-render the window in the main application thread and use Mutex locks to set and unset the variables in the device and application threads.</div><div style>
<br></div><div style>The issue seems to occur when the device thread attempts to read the variable that is locked for update by the application thread. The prog throws a Qt exception at this point.</div><div style><br></div>
<div style>Could someone please help me with this issue and suggest a workaround. I tried creating a Qt based timer as well but for some reason it is not getting invoked.</div><div style><br></div><div style>Your help will be greatly appreciated.</div>
<div style><br></div><div style>Thanks,</div><div style>Tanu</div>