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 details)

Uploaded Source

Built Distribution

py_canalyzer-0.0.1-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file py_canalyzer-0.0.1.tar.gz.

File metadata

  • Download URL: py_canalyzer-0.0.1.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Windows/10

File hashes

Hashes for py_canalyzer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4b022656859a63e5558afda8503c6d0ea53c3c69f2691d9b4d588d8b63080732
MD5 076df869f2097067d16ef08af9c6e2c2
BLAKE2b-256 4c7fb6d6f6d9ed6aa3f73c2701278568041c5d970f4e792fe515048f8cddabca

See more details on using hashes here.

File details

Details for the file py_canalyzer-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: py_canalyzer-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 23.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Windows/10

File hashes

Hashes for py_canalyzer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b95dba116bd2076c9f23d64db9a01338a6cee0e311053fc4e78d3ea51f36a81
MD5 c91dc09de81e116219e1a65ca0f04c27
BLAKE2b-256 b9655078e2ef8ed97217463d924b9d403ba79168b7e0b5a79d8f9b7e968df368

See more details on using hashes here.

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