Timer and threading

  • Thread starter Thread starter roger.breton
  • Start date Start date
R

roger.breton

Guest
I created a small application to take measurements with an instrument conneted to the RS-232 port.

As you can see from the screen capture below, all I do is to take a measurement in response to the Measure button being clicked. That part works great. But I never know how long the measurement will take? That depends on the amount of light being measured. Low lights require more time than bright lights, anywhere from 10 secondes to 8 minutes.

As you can see, I have a label called "Time". Would it be possible to "update" this label while the measurement is going on? So the user does not have the impression that the application is hung or unresponsive?

1514611.png

Continue reading...
 
Back
Top