Skip to content

Commit 1865e78

Browse files
committed
Add example for using newer PicoScope installer on Windows
1 parent 7b7e692 commit 1865e78

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: README.md

+13
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,19 @@ python setup.py develop
4646
You will require the PicoScope DLLs for this package to work. The easiest method is to install the latest PicoScope software
4747
or SDK from https://www.picotech.com/downloads .
4848

49+
You may need to add the PicoScope install directory to the path, especially if changing between versions. Be sure you have installed a matching 32-bit or 64-bit version for your Python install.
50+
51+
```
52+
import os
53+
picoinstallpath = os.path.normpath(r"C:\Program Files\Pico Technology\PicoScope 7 T&M Early Access")
54+
if picoinstallpath not in os.environ['PATH']:
55+
print("Adding Pico Install to Path")
56+
os.environ['PATH'] = picoinstallpath + os.pathsep + os.environ['PATH']
57+
else:
58+
print("Pico Install Already on Path")
59+
```
60+
61+
4962
#### Linux
5063
Install the PicoScope Beta for Linux version of PicoScope as describe under Getting DLL's (above). Currently this is the only way to install the shared libraries (SDK)
5164

0 commit comments

Comments
 (0)