Skip to content

Commit 1979e76

Browse files
author
Christian Sültrop
committed
Added parentheses to print commands in ps3000aExamples/ps3000aBlockMSOExample.py.
1 parent b22d1f0 commit 1979e76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ps3000aExamples/ps3000aBlockMSOExample.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
0)
9999
assert_pico_ok(status["SetDataBuffers"])
100100

101-
print "Starting data collection..."
101+
print ("Starting data collection...")
102102

103103
# Starts the block capture
104104
# handle = chandle
@@ -143,7 +143,7 @@
143143
status["GetValues"] = ps.ps3000aGetValues(chandle, 0, ctypes.byref(cTotalSamples), 1, 0, 0, ctypes.byref(overflow))
144144
assert_pico_ok(status["GetValues"])
145145

146-
print "Data collection complete."
146+
print ("Data collection complete.")
147147

148148
# Obtain binary for Digital Port 0
149149
# The tuple returned contains the channels in order (D7, D6, D5, ... D0).
@@ -154,7 +154,7 @@
154154

155155
# Plot the data from digital channels onto a graph
156156

157-
print "Plotting data..."
157+
print ("Plotting data...")
158158

159159
plt.figure(num='PicoScope 3000 Series (A API) MSO Block Capture Example')
160160
plt.title('Plot of Digital Port 0 digital channels vs. time')
@@ -171,7 +171,7 @@
171171
plt.legend(loc="upper right")
172172
plt.show()
173173

174-
print "Close figure to stop the device and close the connection."
174+
print ("Close figure to stop the device and close the connection.")
175175

176176
# Stops the scope
177177
# handle = chandle

0 commit comments

Comments
 (0)