Hi th everyone,
I am developing a simple plugin which reads from a device attached to the com port. If the received package is good then all the fields of a structure are filled up. Then I added some functions in the DLL in order to access these fields. In order to start the sampling process i use a function called i.e. INIT DEVICE(1), which starts a thread. I have found the following problem: if I add a Sleep(35) inside the thread loop everything seem to work fine, with a lower delay Dark Basic stops to work. Can anyone help me?
Thank you
Marco
Marco