Skip to content

Commit a1ad0a1

Browse files
Working with OpenGL on Onera
1 parent 352d304 commit a1ad0a1

File tree

4 files changed

+247
-2
lines changed

4 files changed

+247
-2
lines changed

Arduino_PyQt_demo_with_multithreading.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@
3535
# `conda install pyopengl` or `pip install pyopengl`
3636
import OpenGL.GL as gl # pylint: disable=unused-import
3737
except:
38-
pass
38+
print("OpenGL acceleration: Disabled")
3939
else:
40+
print("OpenGL acceleration: Enabled")
4041
pg.setConfigOptions(useOpenGL=True)
4142
pg.setConfigOptions(antialias=True)
4243
pg.setConfigOptions(enableExperimental=True)

list_conda.txt

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
# packages in environment at C:\Users\vangi\anaconda3\envs\test:
2+
#
3+
# Name Version Build Channel
4+
alabaster 0.7.12 py_0
5+
appdirs 1.4.3 py_0
6+
astroid 2.4.2 py38_0
7+
atomicwrites 1.4.0 py_0
8+
attrs 19.3.0 py_0
9+
babel 2.8.0 py_0
10+
backcall 0.2.0 py_0
11+
black 19.10b0 py_0
12+
blas 1.0 mkl
13+
bleach 3.1.5 py_0
14+
brotlipy 0.7.0 py38he774522_1000
15+
ca-certificates 2020.6.24 0
16+
certifi 2020.6.20 py38_0
17+
cffi 1.14.0 py38h7a1dbc1_0
18+
chardet 3.0.4 py38_1003
19+
check-manifest 0.42 pypi_0 pypi
20+
click 7.1.2 py_0
21+
cmarkgfm 0.4.2 py38he774522_0
22+
colorama 0.4.3 py_0
23+
coverage 5.0 py38he774522_0
24+
cryptography 2.9.2 py38h7a1dbc1_0
25+
cycler 0.10.0 py38_0
26+
decorator 4.4.2 py_0
27+
docutils 0.16 py38_1
28+
dvg-debug-functions 2.1.1 pypi_0 pypi
29+
dvg-devices 0.1.0 pypi_0 pypi
30+
dvg-pid-controller 2.0.0 pypi_0 pypi
31+
dvg-qdeviceio 0.3.0 pypi_0 pypi
32+
dvg-ringbuffer 1.0.1 pypi_0 pypi
33+
fftw 3.3.8 nompi_h24e91a8_1111 conda-forge
34+
freetype 2.10.2 hd328e21_0
35+
future 0.18.2 py38_1
36+
icc_rt 2019.0.0 h0cc432a_1
37+
icu 58.2 ha925a31_3
38+
idna 2.10 py_0
39+
imagesize 1.2.0 py_0
40+
intel-openmp 2020.1 216
41+
ipython 7.16.1 py38h5ca1d4c_0
42+
ipython_genutils 0.2.0 py38_0
43+
isort 4.3.21 py38_0
44+
jedi 0.17.1 py38_0
45+
jinja2 2.11.2 py_0
46+
jpeg 9b hb83a4c4_2
47+
kiwisolver 1.2.0 py38h74a9793_0
48+
lazy-object-proxy 1.4.3 py38he774522_0
49+
libllvm9 9.0.1 h21ff451_0
50+
libpng 1.6.37 h2a8f88b_0
51+
llvmlite 0.33.0 py38ha925a31_0
52+
markupsafe 1.1.1 py38he774522_0
53+
matplotlib 3.2.2 0
54+
matplotlib-base 3.2.2 py38h64f37c6_0
55+
mccabe 0.6.1 py38_1
56+
mkl 2020.1 216
57+
mkl-service 2.3.0 py38hb782905_0
58+
mkl_fft 1.1.0 py38h45dec08_0
59+
mkl_random 1.1.1 py38h47e9c7a_0
60+
more-itertools 8.4.0 py_0
61+
mypy_extensions 0.4.3 py38_0
62+
numba 0.50.1 py38h47e9c7a_0
63+
numpy 1.18.5 py38h6530119_0
64+
numpy-base 1.18.5 py38hc3f5095_0
65+
numpy-ringbuffer 0.2.1 pypi_0 pypi
66+
openssl 1.1.1g vc14he774522_1 [vc14] intel
67+
packaging 20.4 py_0
68+
parso 0.7.0 py_0
69+
pathspec 0.7.0 py_0
70+
pep517 0.8.2 pypi_0 pypi
71+
pickleshare 0.7.5 py38_1000
72+
pip 20.1.1 py38_1
73+
pkginfo 1.5.0.1 py38_0
74+
pluggy 0.13.1 py38_0
75+
prompt-toolkit 3.0.5 py_0
76+
psutil 5.7.0 py38he774522_0
77+
py 1.9.0 py_0
78+
pycparser 2.20 py_2
79+
pyfftw 0.12.0 py38hd17e47c_1 conda-forge
80+
pygments 2.6.1 py_0
81+
pylint 2.5.3 py38_0
82+
pyopengl 3.1.1a1 py38_0
83+
pyopenssl 19.1.0 py_1
84+
pyparsing 2.4.7 py_0
85+
pyqt 5.9.2 py38ha925a31_4
86+
pyqt5 5.15.0 pypi_0 pypi
87+
pyqt5-sip 12.8.0 pypi_0 pypi
88+
pyqtgraph 0.11.0 py_0 anaconda
89+
pyserial 3.4 py_2
90+
pysocks 1.7.1 py38_0
91+
pytest 5.4.3 py38_0
92+
pytest-cov 2.10.0 py_0
93+
python 3.8.3 he1778fa_2
94+
python-dateutil 2.8.1 py_0
95+
python_abi 3.8 1_cp38 conda-forge
96+
pytz 2020.1 py_0
97+
pyvisa 1.10.1 pypi_0 pypi
98+
qt 5.9.7 vc14h73c81de_0
99+
readme_renderer 24.0 py38_0
100+
regex 2020.6.8 py38he774522_0
101+
requests 2.24.0 py_0
102+
requests-toolbelt 0.9.1 py_0
103+
scipy 1.5.0 py38h9439919_0
104+
setuptools 49.2.0 py38_0
105+
sip 4.19.13 py38ha925a31_0
106+
six 1.15.0 py_0
107+
snowballstemmer 2.0.0 py_0
108+
sphinx 3.1.2 py_0
109+
sphinx-qt-documentation 0.2 pypi_0 pypi
110+
sphinxcontrib-applehelp 1.0.2 py_0
111+
sphinxcontrib-devhelp 1.0.2 py_0
112+
sphinxcontrib-htmlhelp 1.0.3 py_0
113+
sphinxcontrib-jsmath 1.0.1 py_0
114+
sphinxcontrib-qthelp 1.0.3 py_0
115+
sphinxcontrib-serializinghtml 1.1.4 py_0
116+
sqlite 3.32.3 h2a8f88b_0
117+
tbb 2020.0 h74a9793_0
118+
toml 0.10.1 py_0
119+
tornado 6.0.4 py38he774522_1
120+
tqdm 4.47.0 py_0
121+
traitlets 4.3.3 py38_0
122+
twine 2.0.0 py_0
123+
typed-ast 1.4.1 py38he774522_0
124+
typing_extensions 3.7.4.2 py_0
125+
urllib3 1.25.9 py_0
126+
vc 14.1 h0510ff6_4
127+
vs2015_runtime 14.16.27012 hf0eaf9b_3
128+
wcwidth 0.2.5 py_0
129+
webencodings 0.5.1 py38_1
130+
wheel 0.34.2 py38_0
131+
win_inet_pton 1.1.0 py38_0
132+
wincertstore 0.2 py38_0
133+
wrapt 1.11.2 py38he774522_0
134+
zlib 1.2.11 h62dcd97_4

list_pip.txt

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
Package Version
2+
----------------------------- -------------------
3+
alabaster 0.7.12
4+
appdirs 1.4.3
5+
astroid 2.4.2
6+
atomicwrites 1.4.0
7+
attrs 19.3.0
8+
Babel 2.8.0
9+
backcall 0.2.0
10+
black 19.10b0
11+
bleach 3.1.5
12+
brotlipy 0.7.0
13+
certifi 2020.6.20
14+
cffi 1.14.0
15+
chardet 3.0.4
16+
check-manifest 0.42
17+
click 7.1.2
18+
cmarkgfm 0.4.2
19+
colorama 0.4.3
20+
coverage 5.0
21+
cryptography 2.9.2
22+
cycler 0.10.0
23+
decorator 4.4.2
24+
docutils 0.16
25+
dvg-debug-functions 2.1.1
26+
dvg-devices 0.1.0
27+
dvg-pid-controller 2.0.0
28+
dvg-qdeviceio 0.3.0
29+
dvg-ringbuffer 1.0.1
30+
future 0.18.2
31+
idna 2.10
32+
imagesize 1.2.0
33+
ipython 7.16.1
34+
ipython-genutils 0.2.0
35+
isort 4.3.21
36+
jedi 0.17.1
37+
Jinja2 2.11.2
38+
kiwisolver 1.2.0
39+
lazy-object-proxy 1.4.3
40+
llvmlite 0.33.0+1.g022ab0f
41+
MarkupSafe 1.1.1
42+
matplotlib 3.2.2
43+
mccabe 0.6.1
44+
mkl-fft 1.1.0
45+
mkl-random 1.1.1
46+
mkl-service 2.3.0
47+
more-itertools 8.4.0
48+
mypy-extensions 0.4.3
49+
numba 0.50.1
50+
numpy 1.18.5
51+
numpy-ringbuffer 0.2.1
52+
packaging 20.4
53+
parso 0.7.0
54+
pathspec 0.7.0
55+
pep517 0.8.2
56+
pickleshare 0.7.5
57+
pip 20.1.1
58+
pkginfo 1.5.0.1
59+
pluggy 0.13.1
60+
prompt-toolkit 3.0.5
61+
psutil 5.7.0
62+
py 1.9.0
63+
pycparser 2.20
64+
pyFFTW 0.12.0
65+
Pygments 2.6.1
66+
pylint 2.5.3
67+
PyOpenGL 3.1.1a1
68+
pyOpenSSL 19.1.0
69+
pyparsing 2.4.7
70+
PyQt5 5.15.0
71+
PyQt5-sip 12.8.0
72+
pyqtgraph 0.11.0
73+
pyserial 3.4
74+
PySocks 1.7.1
75+
pytest 5.4.3
76+
pytest-cov 2.10.0
77+
python-dateutil 2.8.1
78+
pytz 2020.1
79+
PyVISA 1.10.1
80+
readme-renderer 24.0
81+
regex 2020.6.8
82+
requests 2.24.0
83+
requests-toolbelt 0.9.1
84+
scipy 1.5.0
85+
setuptools 49.2.0.post20200714
86+
sip 4.19.13
87+
six 1.15.0
88+
snowballstemmer 2.0.0
89+
Sphinx 3.1.2
90+
sphinx-qt-documentation 0.2
91+
sphinxcontrib-applehelp 1.0.2
92+
sphinxcontrib-devhelp 1.0.2
93+
sphinxcontrib-htmlhelp 1.0.3
94+
sphinxcontrib-jsmath 1.0.1
95+
sphinxcontrib-qthelp 1.0.3
96+
sphinxcontrib-serializinghtml 1.1.4
97+
toml 0.10.1
98+
tornado 6.0.4
99+
tqdm 4.47.0
100+
traitlets 4.3.3
101+
twine 2.0.0
102+
typed-ast 1.4.1
103+
typing-extensions 3.7.4.2
104+
urllib3 1.25.9
105+
wcwidth 0.2.5
106+
webencodings 0.5.1
107+
wheel 0.34.2
108+
win-inet-pton 1.1.0
109+
wincertstore 0.2
110+
wrapt 1.11.2

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ pyqtgraph~=0.10
66

77
dvg-debug-functions==2.1.1
88
dvg-qdeviceio==0.3.0
9-
dvg-devices==0.0.7
9+
dvg-devices==0.1.0

0 commit comments

Comments
 (0)