If i have this code executing, it appears to stop firing of the astreams_newdata event:-
lngLock=DateTime.now
Do While blnNewRec=False
lblMsg.Text="Wait for lock " & DateTime.Time(DateTime.Now-lngLock).SubString(3)
DoEvents
Loop
if i comment out this code, data is processed as expected.
I thought based on a previous post that arriving serial data would be processed in parallel with other code that may be running ?
am i doing something wrong or expecting too much ?
lngLock=DateTime.now
Do While blnNewRec=False
lblMsg.Text="Wait for lock " & DateTime.Time(DateTime.Now-lngLock).SubString(3)
DoEvents
Loop
if i comment out this code, data is processed as expected.
I thought based on a previous post that arriving serial data would be processed in parallel with other code that may be running ?
am i doing something wrong or expecting too much ?
Last edited: