A custom library for interacting with Vector CANoe
Project description
Canoe_PY
A custom Python library for interacting with Vector 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
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.1.tar.gz
(8.3 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.1.tar.gz.
File metadata
- Download URL: canoe_py-0.1.1.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d683c06ff9bbc3622ab7fba2db4824e7a85f491538eb8fb49f55e78fac50297
|
|
| MD5 |
07d2d9dd8e2495bfa07a1c368a52a943
|
|
| BLAKE2b-256 |
c814b5bb0556fd78e888fcbd51db79b5fb1cdc156415d7b763e09e2f960fe968
|
File details
Details for the file canoe_py-0.1.1-py3-none-any.whl.
File metadata
- Download URL: canoe_py-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.6 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 |
a30a90c16f42f655e8b2f2799b37eb2fd989e5129293df931f7273ce020532e8
|
|
| MD5 |
145e1e2b4d6c5548cc990134bf8e1708
|
|
| BLAKE2b-256 |
097e6ba7ce6361663a044e523425d5ba3874d68e3c6a7efd0fd717c481bbc4f7
|