Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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