Skip to main content

A professional PySide6 CANopen bus monitor and simulator.

Project description

canopen-utils

A professional, live CANopen bus monitor and device simulator built with PySide6, python-can, and canopen.

Features

canopen-inspect

A live CANopen bus monitor that connects to hardware, loads EDS files, and translates raw CAN traffic into human-readable data in real-time.

  • Connection Manager: Select CAN interface and bitrate.
  • Node Radar: Automatically detect active nodes on the bus via Heartbeats, and allow assigning an EDS file to them. Send NMT commands (Start, Stop, Pre-Op) to individual nodes or broadcast.
  • Live TPDO Dashboard: A table showing real-time updating values translated by the EDS.
  • SDO Explorer: A tree view to browse the Object Dictionary and perform acyclic read/writes.
  • Traffic Trace: A rolling log view translating raw hex CAN frames into human-readable object names on the fly.

canopen-sim

A companion simulator that behaves like a real CANopen hardware node.

  • Automatically enters PRE-OPERATIONAL and sends a 1Hz Heartbeat.
  • Generates TPDOs according to a configurable simulated physics engine.
  • Responds to NMT commands and SDO requests over the bus.

Installation

You can install this package locally using pip:

pip install .

Usage

After installing, the two executable scripts will be added to your PATH.

To run the inspector:

canopen-inspect

To run the simulator:

canopen-sim path/to/your/device.eds --bustype socketcan --channel vcan0

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

canopen_utils-1.0.2.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

canopen_utils-1.0.2-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

Details for the file canopen_utils-1.0.2.tar.gz.

File metadata

  • Download URL: canopen_utils-1.0.2.tar.gz
  • Upload date:
  • Size: 32.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for canopen_utils-1.0.2.tar.gz
Algorithm Hash digest
SHA256 31ad2c8b0eb75b8f1ef0c7fe687bd7fe3bcf228d967c1a9c54ba27b7117bf6b1
MD5 d77a46e3dbcff74f2fe757a606b2d254
BLAKE2b-256 5ec9654a9f151d9fc5fc916a33c07408534ebee925ad2c7d692271372f479ca8

See more details on using hashes here.

Provenance

The following attestation bundles were made for canopen_utils-1.0.2.tar.gz:

Publisher: publish.yml on asanza/canopen-utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file canopen_utils-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: canopen_utils-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 35.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for canopen_utils-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 99985ff24edbd655618a8ba2ff1405637d3370b28874d781ca53507d397b2fe5
MD5 bb7d503c9be53ee186b662e145cc7904
BLAKE2b-256 cdc65270638e656d45184bd8814dd018687c4b0d3c064b9db3979c5f5556ebf9

See more details on using hashes here.

Provenance

The following attestation bundles were made for canopen_utils-1.0.2-py3-none-any.whl:

Publisher: publish.yml on asanza/canopen-utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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