python code for debug data lost

This commit is contained in:
YiChin2018
2019-08-08 10:31:39 +08:00
parent f1f7b519e5
commit be85ccb830
@@ -14,7 +14,8 @@ def main():
if data_delta * 1 / sampling rate == time_delta:
this should be packet loss
else
this should be program delay
this should not only be packet loss but also some programming problem in headstage
'need to figure out'
types of data loss:
1. packet loss:
@@ -24,13 +25,14 @@ def main():
2. program delay causes loss in client(headstage):
too many effort on data packaging, it would cause
data delay
e.g:
3. program delay causes loss in host(controller):
...todo and need to define
method to coped with the corresponding problem:
1. try 'Indication' to check data loss is reduced or not
2. modified the procedure of data packaging
3. check data list
3. after the upper two problems are excluded, this problem should be include
:return:
'''