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 3edb9ca commit d4d13e0Copy full SHA for d4d13e0
1 file changed
nintan/pacq.py
@@ -64,8 +64,6 @@ def clearall():
64
# band of channel A-010
65
scommand.sendall(b'set a-010.tcpdataoutputenabled true')
66
time.sleep(0.1)
67
- scommand.sendall(b'set TCPNumberDataBlocksPerWrite 4')
68
- time.sleep(0.1)
69
70
def acq():
71
# Run controller for tsamp second
@@ -131,6 +129,9 @@ def acq():
131
129
scommand.sendall(b'set runmode stop')
132
130
time.sleep(0.1) # Allow time for RHX software to accept this command before the next one comes
133
+scommand.sendall(b'set TCPNumberDataBlocksPerWrite 20')
+time.sleep(0.1)
134
+
135
# Query sample rate from RHX software
136
scommand.sendall(b'get sampleratehertz')
137
commandReturn = str(scommand.recv(COMMAND_BUFFER_SIZE), "utf-8")
0 commit comments