Quote Originally Posted by catherine0136 View Post
@MaximilianMayrhofer :
I used your method, but it states that "Overload resolution failed because no accessible 'ToString' accepts this number of arguments".
I get that too. What a pity, it looked so plausible. Apparently it works for DateTime variables but not for TimeSpans.

Code:
        Label2.Text = ts.Hours.ToString & ":" & ts.Minutes.ToString & ":" & CInt(ts.Seconds).ToString
        ts = dt.AddSeconds(1) - StartTime
1) Label1 will start with 0:0:0
2) Label2 , Label3, Label4, Label5 will start with (0:0:1) together at the same time. Is it suppose to work in this way?
My mistake, it should be AddSeconds(1) for Label1, AddSeconds(2) for Label2 and so on. Something to do with Reference Types, I believe.

But I thought label 1 will be 0:0:0, label2 will become 0:0:1, label3 becomes 0:0:2, label4 becomes 0:0:3 , label5 becomes 0:0:4, and label1 will become 0:0:5.. and so forth..Oh dear..
You're right again. I thought your graph moved from Right to Left, which would mean the new data comes in on the right and the left hand end is the "oldest" data. But I see you have it the other way round.

I think I'll give up trying to discover how the measured voltage gets into your textbox. Clearly it's a state secret. You're not making a nuclear bomb are you? That may be against the forum rules.

bye, BB