Hi
I developed the program on a P4, 2.8GHz, 1GB Ram and the executable is now running on a P4, 2.5GHz, 512MB Ram, both running with WinXP.
I include you some pictures out of my source. CatchEvent and MainLoop are in the same vi. In CatchEvent you can see, that a enqueue a constant ("Steindaten lesen") which is enqueued in MainLoop (also you can see that I enqueue two more elements in "Steindaten lesen" case).
The third picture shows you how the event is generated. This is a separate vi, running parallel to the main loop. I poll for a digital input (on a FieldPoint-bank) - if it is set I fire the event "Evt_StartPrüfung" (the other cases in this pictures diagram are empty).
As you can see in CatchEvent.jpg and MainLoop.jpg I added Log-Statements in my sourcecode. The time mentioned in my previous post can be taken out of the logfile, according to the entries with INFO-Level from CatchEvent and MainLoop (which also means enqueuing frame and dequeuing frame).
You can also see that my main loop has a time delay of 50ms, which should be quiet enough. If I would fill the queue excessive or use to much memory, the timedelay between enqueue and dequeue should occur more often than it actually does and I also think it should occure more regularly (on 14th it occured 25x, on 15th 8 time and on 17th >50 times). The queue is flushed every hour - so I think there are not to many elements in it.
By the way - the program controls a tool-performance test on a assembly-line, where approximatly every minute another tool is tested.
Thanks in advance for any help.
Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------