Hello from a newbie,
I can't figure out why I can't get out of my do while loop, please look at following code:
Public Sub cmdStart_Click()
Dim data As Variant
Do While cmdStart.Value = True
CWAIPoint1.SingleRead data
CWGraph1.ChartY data
DoEvents
Loop
End Sub
I can click on the button while the loop is executing, but the value won't change to false. I think this is probably more of a vb question, but any suggestions are greatly appreciated.
thanks,
Brian