Skip to main content

Interface for Tektronix Oscilloscopes.

Project description

Tektronix Oscilloscope

Interface for Tektronix Oscilloscopes.

Features

  • Basic support for model TBS1072C

  • Basic support for model TBS2012B

Installation

To install the Tektronix Oscilloscope Interface, run this command in your terminal:

$ pip install tektronixosc

Note that usage in Windows will require the NI-VISA driver.

For the TDS2012B the USB rear port has to be configured as “Computer”.

Usage

To use Tektronix Oscilloscope in a project:

from tektronixosc import Oscilloscope

osc = Oscilloscope()
# Get signal data from first channel
data = osc.channels[0].get_signal()

Thanks

Many thanks to the Measurement Engineering Group, since this project is a fork of their project keysightosc.

Changelog

This project follows the guidelines of Keep a changelog and adheres to Semantic versioning.

0.2.0 - 2025-02-28

Added

  • Added support for the Tektronix TDS2012B oscilloscope.

Changed

  • Many functions have been reworked to differentiate between the devices.

  • Capitalized strings are now written in lower case to be consistent with the other oscilloscope libraries.

  • The Bidict class has been added in order to define the command strings for both devices.

0.1.1 - 2023-10-07

Added

  • Functions to get and set the horizontal scale, record length and presample time.

  • Functions to get and set the sample rate (calculated from the horizontal scale).

  • Functions to get and set the presample ratio (calculated from the presample time).

Changed

  • Changed visa command in x_increment function.

  • _data_stop variable is now set to the record length in the constructor.

  • Changed url in setup.py to github project website.

0.1.0 - 2023-08-01

Added

  • Files from keysightosc library.

  • Some functions described in the tektronix visa command guide.

Changed

  • Updated all keysightosc functions to work with tektronix devices.

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

tektronixosc-0.2.0.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

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

tektronixosc-0.2.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file tektronixosc-0.2.0.tar.gz.

File metadata

  • Download URL: tektronixosc-0.2.0.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for tektronixosc-0.2.0.tar.gz
Algorithm Hash digest
SHA256 dad295fe4c40a1760d18bc06daadce470b8c040b7fb50cbc7afc64c97edb9712
MD5 9d0b6df300d53eee69858adb805d206f
BLAKE2b-256 a9d949ac591736516f381a1695ee795da04f1b855f15577f6f4a019554d33a6b

See more details on using hashes here.

File details

Details for the file tektronixosc-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: tektronixosc-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for tektronixosc-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b398bbb40054d155b73a72fdce82978f13a76c0a72c697e69f7c8a57fb0d9e5
MD5 c7f8253bd1f381afed0dc55008d03a7e
BLAKE2b-256 ba04f99ee47a124136991bcb2345824fc56e4262dcb67751f77ff7fd0d4a6dc4

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