Skip to main content

Networking package for qass_tools

Project description

Networking package for Qass Tools

Networking package to remotely control the Analyzer4D software.

Install as developer

Install the newest version of the pip package by:

pip install qass-tools-networking --user -e .[developers]

How to import networking package

from qass.tools import networking

or to directly address analyzer_socket:

from qass.tools.networking.analyzer_socket import AnalyzerRemote, ExactSamplerates16Bit

or address analyzer_ssh as:

from qass.tools.networking.analyzer_ssh import SSHConnector 

How to use networking package

""" Simple example how to intialize a socket connection to the optimizer and have access to analyzer functions."""
from qass.tools.networking.analyzer_socket import AnalyzerRemote, Channels, Amplitudes

with AnalyzerRemote(ip="your_optimizer_ip") as opti:
    opti.set_multiplexer(channel=Channels.CHANNEL_1)
    info = opti.get_project_info()
    print(info)
    opti.set_multiplexer(gain=800)

    proc = opti.get_process_number()

    opti.set_process_comment(proc, "Hello World")

    opti.start_measuring()
    opti.start_sineGenerator(frequency=500, amplitude=Amplitudes.AMP_191_mV)
    time.sleep(2)
    opti.stop_sineGenerator()
    opti.stop_measuring()

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

qass_tools_networking-3.6.tar.gz (53.4 kB view details)

Uploaded Source

Built Distribution

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

qass_tools_networking-3.6-py3-none-any.whl (55.1 kB view details)

Uploaded Python 3

File details

Details for the file qass_tools_networking-3.6.tar.gz.

File metadata

  • Download URL: qass_tools_networking-3.6.tar.gz
  • Upload date:
  • Size: 53.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for qass_tools_networking-3.6.tar.gz
Algorithm Hash digest
SHA256 1787c3eb5396dc284e015fb88a08b83b3c6cce2dcdece4f366cbf490fa442d55
MD5 14397e66efdbf494ff0ac45394647715
BLAKE2b-256 45ce23066a6d20a7db31db66fb5acc098474f0d0a8812fbd5f2773cd3651f675

See more details on using hashes here.

File details

Details for the file qass_tools_networking-3.6-py3-none-any.whl.

File metadata

File hashes

Hashes for qass_tools_networking-3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f7cbfb55906e50cf757345772c60f3ab85821ec9dc2d817bceb22ff6d2e24cef
MD5 fbb93603eafb1d15c6bc17b7b76c9bac
BLAKE2b-256 8607f89e58b8f6eede9505d04939001425b41c7c32f9c1a1f53b3aa16ad5f795

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