Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hmq2018/Python-Vector-CANoe
Control Vector CANoe API by Python
https://github.com/hmq2018/Python-Vector-CANoe
Last synced: 3 months ago
JSON representation
Control Vector CANoe API by Python
- Host: GitHub
- URL: https://github.com/hmq2018/Python-Vector-CANoe
- Owner: hmq2018
- License: apache-2.0
- Created: 2018-05-19T04:14:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T06:34:43.000Z (over 1 year ago)
- Last Synced: 2024-07-16T15:08:44.576Z (4 months ago)
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 90
- Watchers: 11
- Forks: 25
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-canbus - Python-Vector-CANoe - Control Vector CANoe API by Python. (Utils / Python Tools)
README
# Python-Vector-CANoe
Control Vector CANoe API by Python
Install:
pip install Python-CANoe
Usage:
app = CANoe.CANoe() #定义CANoe为app
app.open_simulation("test.cfg") #导入某个CANoe congif
app.start_Measurement() #启动CANoe
var_from_namespace = app.get_all_SysVar("mfl") #获取namespace下的所有系统变量
print(app.get_SysVar("mfl","vol_plus")) #获取系统变量的值
app.set_SysVar("mfl","vol_plus",1) #写入系统变量的值
app.stop_Measurement() #停止CANoe