Skip to content

Commit f9e0a8b

Browse files
committed
Initial commit adding support for 2000A and 3000 series
1 parent f75070a commit f9e0a8b

File tree

4 files changed

+714
-1
lines changed

4 files changed

+714
-1
lines changed

examples/ps2000_demo.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
The AWG is connected to Channel A.
1010
Nothing else is required.
1111
12-
NOTE: Supports only the ps2000 DLL, NOT the PS2000a DLL.
12+
NOTE: Must change line below to use with "A" and "B" series PS2000 models
1313
1414
See http://www.picotech.com/document/pdf/ps2000pg.en-10.pdf for PS2000 models:
1515
PicoScope 2104
@@ -25,6 +25,7 @@
2525
PicoScope 2205 MSO
2626
PicoScope 2206
2727
PicoScope 2206A
28+
PicoScope 2206B
2829
PicoScope 2207
2930
PicoScope 2207A
3031
PicoScope 2208
@@ -37,6 +38,7 @@
3738

3839
import time
3940
from picoscope import ps2000
41+
from picoscope import ps2000a
4042
import pylab as plt
4143
import numpy as np
4244

@@ -46,6 +48,7 @@
4648
print("Attempting to open Picoscope 2000...")
4749

4850
ps = ps2000.PS2000()
51+
# ps = ps2000a.PS2000a() # Uncomment this line to use with the 2000a/2000b series
4952

5053
print("Found the following picoscope:")
5154
print(ps.getAllUnitInfo())

makedocs.bat

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ set PYTHONBIN=c:\Python27-32bit
55
%PYTHONBIN%\python.exe %PYTHONBIN%\Lib\pydoc.py -w picoscope
66
%PYTHONBIN%\python.exe %PYTHONBIN%\Lib\pydoc.py -w picoscope.picobase
77
%PYTHONBIN%\python.exe %PYTHONBIN%\Lib\pydoc.py -w picoscope.ps2000
8+
%PYTHONBIN%\python.exe %PYTHONBIN%\Lib\pydoc.py -w picoscope.ps2000a
9+
%PYTHONBIN%\python.exe %PYTHONBIN%\Lib\pydoc.py -w picoscope.ps3000
810
%PYTHONBIN%\python.exe %PYTHONBIN%\Lib\pydoc.py -w picoscope.ps3000a
911
%PYTHONBIN%\python.exe %PYTHONBIN%\Lib\pydoc.py -w picoscope.ps4000
1012
%PYTHONBIN%\python.exe %PYTHONBIN%\Lib\pydoc.py -w picoscope.ps5000a

0 commit comments

Comments
 (0)