Skip to content

Commit d4d13e0

Browse files
authored
Update pacq.py
1 parent 3edb9ca commit d4d13e0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

nintan/pacq.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ def clearall():
6464
# band of channel A-010
6565
scommand.sendall(b'set a-010.tcpdataoutputenabled true')
6666
time.sleep(0.1)
67-
scommand.sendall(b'set TCPNumberDataBlocksPerWrite 4')
68-
time.sleep(0.1)
6967

7068
def acq():
7169
# Run controller for tsamp second
@@ -131,6 +129,9 @@ def acq():
131129
scommand.sendall(b'set runmode stop')
132130
time.sleep(0.1) # Allow time for RHX software to accept this command before the next one comes
133131

132+
scommand.sendall(b'set TCPNumberDataBlocksPerWrite 20')
133+
time.sleep(0.1)
134+
134135
# Query sample rate from RHX software
135136
scommand.sendall(b'get sampleratehertz')
136137
commandReturn = str(scommand.recv(COMMAND_BUFFER_SIZE), "utf-8")

0 commit comments

Comments
 (0)