Skip to main content

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


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)

Uploaded Source

Built Distribution

py_canalyzer-0.0.1-py3-none-any.whl (23.3 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