Thread subject: Homeroasters - Home Roasting Coffee Community :: TC4 - Artisan application software

Posted by JimG on 06/21/2011 8:46 AM
#44

Looking through the artisan code, I can see two things that explain this behavior:

1. The sampling function uses the cycle time parameter as a delay between samples rather than to define a true cycle period.

2. Sampling cannot be done while the window is being redrawn. This was causing exceptions and crashes in previous versions, I believe. So the code inserts 50 ms delays to allow a redraw to complete if one is active.

Seems like the first item above could easily be changed. I don't think the second item is much of an issue.

Jim