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: 27 days 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 (almost 2 years ago)
- Last Synced: 2024-10-03T06:56:09.373Z (2 months ago)
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 93
- 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