Skip to main content

Python CANoe Package

Project description

About py_canoe

Python 🐍 Package for controlling Vector CANoe 🛶 Tool

fork this repo and create pull request to contribute back to this project.

for ideas/discussions please create new discussion here

create issue or request feature here

GitHub Releases 👉 link

PyPi Package 👉 link

Prerequisites link

Python environment setup instructions link

Install py_canoe package

pip install py_canoe --upgrade

Documentation Links

example use cases 👉 link

package reference doc 👉 link

Sample Example

# Import CANoe module
from py_canoe import CANoe

# create CANoe object
canoe_inst = CANoe()

# open CANoe configuration. Replace canoe_cfg with yours.
canoe_inst.open(canoe_cfg=r'tests\demo_cfg\demo.cfg')

# print installed CANoe application version
canoe_inst.get_canoe_version_info()

# Start CANoe measurement
canoe_inst.start_measurement()

# get signal value. Replace arguments with your message and signal data.
sig_val = canoe_inst.get_signal_value('CAN', 1, 'LightState', 'FlashLight')
print(sig_val)

# Stop CANoe Measurement
canoe_inst.stop_measurement()

# Quit / Close CANoe configuration
canoe_inst.quit()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_canoe-2.1.3.tar.gz (28.6 kB view hashes)

Uploaded Source

Built Distribution

py_canoe-2.1.3-py3-none-any.whl (35.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page