Skip to main content

lecroyutils

pypi

Library to communicate and parse .trc files with/from LeCroy oscilloscopes.

This library is based on previous work:

Features

  • remote control LeCroy oscilloscopes over vxi11
    • does not require additional drivers (no visa)
    • controlling trigger settings
    • accessing statistics
    • downloading screenshots
    • view and donwload waveform data
  • parse LeCroy .trc waveform data
    • support for sequence mode
    • x and y units

Installation

lecroyutils is available in the Python Package Index (PyPi). It may be installed with pip:

> pip install lecroyutils

Usage

from lecroyutils.data import LecroyScopeData

# Parse a local .trc file
data = LecroyScopeData.parse_file('C2_00000_Lecroy.trc')

from lecroyutils.control import LecroyScope, TriggerMode, TriggerType

# Connect to a scope over vxi11
scope = LecroyScope('127.0.0.1')
scope.trigger_type = TriggerType.edge
scope.trigger_source = 'C1'
scope.acquire(force=True)
data = scope.waveform('C1')

scope.save_waveform('C1', 'C1_00000_Lecroy.trc')

Related

License

lecroyutils is licensed under the MIT license.

Notice

We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Teledyne LeCroy, or any of its subsidiaries or its affiliates. The official Teledyne LeCroy github profile can be found at https://github.com/TeledyneLeCroy.

Metadata

Release files for lecroyutils 4.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lecroyutils 4.0.2
File Size Uploaded Provenance Actions
lecroyutils-4.0.2.tar.gz 9.3 kB Without provenance Details for lecroyutils-4.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lecroyutils 4.0.2
File Interpreter ABI Platform Actions
lecroyutils-4.0.2-py3-none-any.whl Python 3 none any Details for lecroyutils-4.0.2-py3-none-any.whl

Total release size: 18.4 kB

Release files / lecroyutils-4.0.2.tar.gz

Download URL lecroyutils-4.0.2.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9b6b6ebc5921d3dc8e430b8ba3ad556fa373861aafbf600a059bcab765461f31
BLAKE2b-256 checksum
How to use checksums
7fd77a0d3101102399b88640804de7404008459a99c2b51fa68d907e5a9cdd1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / lecroyutils-4.0.2-py3-none-any.whl

Download URL lecroyutils-4.0.2-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
411bb0c24d980a638d1f2e57ead53433a1b1d0fd562a37aad1d614be5d8ce324
BLAKE2b-256 checksum
How to use checksums
614b7be5d8dbedf1cb8a1f0ec99ac3685e0bbe47cef0f915ebe471f02d53225b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for lecroyutils 4.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page