Skip to main content

Interface for Tektronix signal generators.

Project description

Tektronix Signal Generator Interface

Interface for Tektronix signal generators.

Features

  • Support basic functions for model AFG31052

  • Support basic functions for model AFG1022

Installation

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

$ pip install tektronixsg

Note that usage in Windows will require a driver, for example the IO Libraries Suite by Keysight.

Usage

Example how to use tektronixsg:

from tektronixsg import SignalGenerator
sg = SignalGenerator()
# Set the voltage amplitude of the first channel to 1V
sg.channels[0].voltage_amplitude = 1
# Set the signal type of the first channel to sine
sg.channels[0].signal_type = "sine"
# Set the frequency of the first channel to 100 kHz
sg.channels[0].frequency = 1e5
# Enable the output of the first channel
sg.channels[0].output_on = True

Changelog

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

0.1.0 - 2022-12-01

Added

  • First preview release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

tektronixsg-0.1.0-py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 3

Supported by

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