Hello!
Make a program that acquires temperature data from an interface BLACK STACK FLUKE via RS-232 connection.
The program basically seeks temperature stability and then if you meet certain conditions applicable to the acquisition of data that will be processed mathematically and the saved result in a specific location excel. Finalizing this, the program results in a pop-up message requesting a user action that causes the entire program pause, to run the above process numevamente for another temperature range, the problem is that while the program is on hold, with the pop-up message waiting to be activated OK, the data from the interface remain in the buffer, to accumulate, and when after a time is given OK to pop to continue running the program all these data are read by the program and fail in the stability calculations for the first part. If someone could help me with this or any idea how to prevent data buffer is read, Thank You
regards