Skip to main content

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

Project description

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.

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

lecroyutils-4.0.2.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

lecroyutils-4.0.2-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file lecroyutils-4.0.2.tar.gz.

File metadata

  • Download URL: lecroyutils-4.0.2.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for lecroyutils-4.0.2.tar.gz
Algorithm Hash digest
SHA256 9b6b6ebc5921d3dc8e430b8ba3ad556fa373861aafbf600a059bcab765461f31
MD5 15a4d84c50dd5b68ee6e7cfb13cd2dd2
BLAKE2b-256 7fd77a0d3101102399b88640804de7404008459a99c2b51fa68d907e5a9cdd1e

See more details on using hashes here.

File details

Details for the file lecroyutils-4.0.2-py3-none-any.whl.

File metadata

  • Download URL: lecroyutils-4.0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for lecroyutils-4.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 411bb0c24d980a638d1f2e57ead53433a1b1d0fd562a37aad1d614be5d8ce324
MD5 e0a6f61f4e8e65355af558c9e0899d73
BLAKE2b-256 614b7be5d8dbedf1cb8a1f0ec99ac3685e0bbe47cef0f915ebe471f02d53225b

See more details on using hashes here.

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