A custom library for interacting with Vector CANoe
Project description
Canoe_PY
A custom Python library for interacting with Vector CANoe, inspired by py_canoe.
Installation
pip install Canoe_PY
Features
- Connect to running CANoe instances
- Open and create CANoe configurations
- Start, stop, and reset measurements
- Get and set signal values
- Get and set system variables
- Get and set environment variables
- Compile and call CAPL functions
- Add and remove databases
- Comprehensive error handling and logging
Usage
See the examples directory for detailed usage examples.
Basic Usage
from Canoe_PY import MyCANoe
# Create instance
canoe = MyCANoe()
# Connect to CANoe
canoe._connect_to_canoe()
# Open configuration
canoe.open_configuration("path/to/config.cfg")
# Start measurement
canoe.start_measurement()
# Work with system variables
canoe.set_system_variable_value("sys_var_demo::speed", 50)
# Stop measurement
canoe.stop_measurement()
# Quit CANoe
canoe.quit()
Requirements
- Python 3.6 or higher
- pywin32
- Vector CANoe installed
Acknowledgments
This library was inspired by the py_canoe project by chaitu-ycr, which is licensed under the MIT License.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
canoe_py-0.1.0.tar.gz
(8.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file canoe_py-0.1.0.tar.gz.
File metadata
- Download URL: canoe_py-0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd175ed9f98f855c1828deafb9ea80fb6cf0b2c0e7e46fe15742805c3c100f71
|
|
| MD5 |
3f677b9b05e01881b1b163dd9562589d
|
|
| BLAKE2b-256 |
a30fd2d8d722239aa5aeadaaf9ed7b73e95a15a0af0473f219e45b1390019215
|
File details
Details for the file canoe_py-0.1.0-py3-none-any.whl.
File metadata
- Download URL: canoe_py-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0add99e82f86a31f00e93e7c929090eed2cd17e5f5dee21163db8a7b492386b0
|
|
| MD5 |
413e886ebc3c2fc9b443a4bf784e66d4
|
|
| BLAKE2b-256 |
8f3a803d9e92a8d60c3150f7410f25301b38933f33588baf2bc2cec0ec41265d
|