forked from yzt000000/device_config_python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAlbert device_config_python Notes.txt
More file actions
50 lines (35 loc) · 1.89 KB
/
Albert device_config_python Notes.txt
File metadata and controls
50 lines (35 loc) · 1.89 KB
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
device_config_python Notes
--------------------------
Created By: Albert Castillo
Updated On: 4/24/2026
Installation Notes
-------------------
1) Clone the device_config_python github repo and then open the root dir in JetBrains PyCharm (the default IDE)
2) Install dependent packages: python -m pip install <package_name_1> <package_name_2> ...
- pyvisa
- pyvisa_sim
- matplotlib
- pandas
- pygments
- qt_material
- cryptography
- pythonnet
- cx_Freeze
3) Plug in a USB cable and power-on the USB device which is using a CH341 USB-Serial converter chip
4) Run: python main.py
NOTE: After a little while, I am receiving a licensing error popup! I need to disable the licensing check feature, and all other unrelated features.
I only need to keep the I2C related stuff.
===>> Might be better to consider using one of the following:
- CP2112-I2C-GUI-Program-to-read-and-write-Registers (SiLabs CP2112) utility (if the license doesn't restrict us using it
internally with a different USB-I2C device). Need to modify it to use different I2C calls.
This is #12 in the "C:\Data\OEM\Lab Equipment\I2C Adapter\Software and Utilities (Opensource)\I2C Software Utilities and Opensource.txt" document.
- SiLabs cp2112ek-development-kit: The SDK download contains demos, one of which is the control GUI.
This is #12 in the "I2C Software Utilities and Opensource.txt" document.
- Renesas I2C GUI Tool:
This is #14 in the "I2C Software Utilities and Opensource.txt" document.
5) To create the native executable of the device_config_python app:
(Run from within the root directory of the device_config_python app source code)
python setup.py --help Display help
python setup.py build Build the package under a “.\build” subdir
- The executable will be placed in: .\build\exe.win-amd64-3.11\device_config.exe
python setup.py install Install the package