On Fri, 18 Sep 2015 11:40:53 +0200, Michael Schnell <[email protected]> wrote:
> >So Bo supposedly is save if he selects "Application" and not "Console >Application" when setting up his project. In fact on a PI a GUI system >is active by default. > >Other than MSE, a Lazarus "Console Application" can't use TTimer, this >might not be relevant for Bo on Pi. On the Windows service application I am checking every minute if a start time for a measure task has occurred and then I run the process to get the measurement going. I probably have to do something about the way to handle the scheduling in Linux, either by programmatically setting up cron jobs or by having my program run in an eternal loop and checking the time in every loop iteration. Or is there a better way on Linux? As described my Windows application is a service and I am not porting that, I only want to use all of the ObjectPascal classes I created for the handling of the instrumentation but using whatever scheduling functionality that may be available in Linux. And I have to include an Indy TCP Client too.... -- Bo Berglund Developer in Sweden -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
