I'm using an external DLL suite "XLInput" from !QCLSolution to send data to Excel. Work great and stable.
I want to send info to Excel every 300 millisecond. How can I do that. Actually, have a code that is running, but for whatever reason it crash at midnight everyday.
Code: Select all
If Machinetime > referencetime then begin // Delay is over
Referencetime = Machinetime + delay;
//print (machinetime, " ", delay, " ", referencetime);
//if lastbaronchart then print (datastring);
XLO.TextA1(sBook,sSheet,iDataString,DataString);
//Bar info as been transmited then reset the Barcompleted value to Bar in Progress barcompleted = "BIP";
end; //If Machinetime > referencetime
Is there another way to execute a routine every 300 ms?
Hope I'm clear enough with my no so good English
Martin