We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3694ea3 commit 57153afCopy full SHA for 57153af
1 file changed
nintan/pacq.py
@@ -73,12 +73,16 @@ def acq():
73
scommand.sendall(b'set runmode run')
74
time.sleep(tsamp)
75
scommand.sendall(b'set runmode stop')
76
+
77
# Suggestion from Adrian at Intan 4/21/22
78
t1 = time.perf_counter()
79
+ time.sleep(0.04)
80
scommand.sendall(b'get runmode')
81
commandReturn = str(scommand.recv(COMMAND_BUFFER_SIZE), "utf-8")
82
isStopped = commandReturn == "Return: RunMode Stop"
83
while not isStopped:
84
+ time.sleep(0.01)
85
+ print('Wait')
86
87
88
0 commit comments