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.0.tar.gz (32.1 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.0-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: canopen_utils-1.0.0.tar.gz
  • Upload date:
  • Size: 32.1 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.0.tar.gz
Algorithm Hash digest
SHA256 4011324bcfbdcf076b1ee0f12d326df35c4d7ae8d4799615fa62ea3b49f2b770
MD5 343e9eea30caa6b731ebc155a5d33f13
BLAKE2b-256 d09c68989656a1ba7fc05fc79e915b851713cfa877fe0b4764259cc6571c22f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for canopen_utils-1.0.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: canopen_utils-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a58d4492d85726909f0784f4c79089285be954472c8f176699a5cef458528daa
MD5 f3d0f55d95f71f8778a823a820720ef7
BLAKE2b-256 b5b3fab166ebbfad25f46856cec53f137ebb5bb07d3236d22cfd364345cfebe1

See more details on using hashes here.

Provenance

The following attestation bundles were made for canopen_utils-1.0.0-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