Skip to main content

Interface for Tektronix signal generators.

Project description

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

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

tektronixsg-0.2.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

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

tektronixsg-0.2.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tektronixsg-0.2.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for tektronixsg-0.2.0.tar.gz
Algorithm Hash digest
SHA256 04cda663d57b53945d8050b0ef3b4db97172415b4b1440680f541d5e3995e44b
MD5 c18122cd1d07cd1ac6e0989a267d8d0c
BLAKE2b-256 244baf9eb673103291fa1255ceb9970d8528405b8a1302aa484661c95a1a4776

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tektronixsg-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for tektronixsg-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 830e690535ddbde7f086e141dd7281da57e6177531a16cdd24361a2c26ece907
MD5 5d704c85f00df81494e84db1e22a689b
BLAKE2b-256 5de5f2f4e3980c8bd9db4e2f3a3be3b292cf235dac395ab523cc07e6d63cc0cd

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