Python CANalyzer Package
Project description
About py_canalyzer
Python 🐍 Package for controlling Vector CANalyzer Tool
fork this repo and create pull request to contribute back to this project.
GitHub Releases 👉 link
PyPi Package 👉 link
Prerequisites link
Python environment setup instructions link
Install py_canalyzer package
pip install py_canalyzer --upgrade
Documentation Links
example use cases 👉 link
package reference doc 👉 link
Sample Example
# Import CANalyzer module
from py_canalyzer import CANalyzer
# create CANalyzer object
canalyzer_inst = CANalyzer()
# open CANalyzer configuration. Replace CANalyzer_cfg with yours.
canalyzer_inst.open(canalyzer_cfg=r'tests\demo_cfg\CANMainDemo\CANMainDemo.cfg')
# print installed CANalyzer application version
canalyzer_inst.get_canalyzer_version_info()
# Start CANalyzer measurement
canalyzer_inst.start_measurement()
# get signal value. Replace arguments with your message and signal data.
sig_val = canalyzer_inst.get_signal_value('CAN', 1, 'EngineData', 'EngSpeed')
print(sig_val)
# Stop CANalyzer Measurement
canalyzer_inst.stop_measurement()
# Quit / Close CANalyzer configuration
canalyzer_inst.quit()
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
py_canalyzer-0.0.1.tar.gz
(18.2 kB
view hashes)
Built Distribution
Close
Hashes for py_canalyzer-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b95dba116bd2076c9f23d64db9a01338a6cee0e311053fc4e78d3ea51f36a81 |
|
MD5 | c91dc09de81e116219e1a65ca0f04c27 |
|
BLAKE2b-256 | b9655078e2ef8ed97217463d924b9d403ba79168b7e0b5a79d8f9b7e968df368 |