-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
72 lines (52 loc) · 1.85 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Step 1. Install software and dependencies for Debian 11 and raspios-bullseye:
open Console:
sudo apt-get install git
git clone https://github.com/martin-bochum/DMM-Siglent-SDM
cd ~/DMM-Siglent-SDM
sudo apt-get install qtcreator
sudo apt-get install pyqt5-dev-tools
sudo apt-get install python3-pip
sudo pip3 install pyusb
sudo pip3 install -U pyvisa
sudo pip3 install pyvisa-py
sudo pip3 install python-vxi11
sudo apt-get install python3-xlsxwriter
sudo apt-get install python3-pyqtgraph
sudo pip3 install pyuic5-tool
pyuic5
Error: one input ui-file must be specified # all OK, pyuic5 is working !
designer --help # check Qt-Designer Version, on DEBIAN 11 and raspios-bullseye there is nothing to do.
# If Qt-Designer is not 5.15.2 - DEBIAN 10 Qt Version is 5.11.3
designer sdm30xx_V3.ui
...and save without changes !
nano multimeter.ini
cd /var/cache/apt/archives
ls -l *.deb
sudo rm *.deb
sudo reboot # or
exit # restart over DESKTOP.
-------------------------------------------
Step 2. Check Software
open Console:
cd ~/DMM-Siglent-SDM
python3 sdm30xx.py
python3 sdm30xx_time.py # only working with DEBIAN 11, Graphics ON, x is Time not Measurements
###################################################
##### If group of /dev/usbtmc is not dialout #####
sudo groupadd dialout
if user has no access to /dev/usbtmc, add user to group dialout
sudo usermod -a -G dialout your_username
sudo reboot # or
exit # restart over Desktop.
##### #####
###################################################
##### if numpy or pygtgraph ERROR #####
pip3 show numpy
dpkg --list | grep numpy
sudo apt-get remove python-numpy
sudo apt-get remove python3-numpy
sudo pip3 uninstall numpy
sudo pip3 show numpy
sudo pip3 uninstall pyqtgraph
sudo apt-get install python3-pyqtgraph # or sudo apt-get install python-pyqtgraph
##### #####