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
Release history Release notifications | RSS feed
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.7.tar.gz
(47.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qass_tools_networking-3.7.tar.gz.
File metadata
- Download URL: qass_tools_networking-3.7.tar.gz
- Upload date:
- Size: 47.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63f4e5f219bae3e2a04f82f63ac8f2088faee42c562b21c9a8673c18f3d048ed
|
|
| MD5 |
f69b5c10c7bd7776691402128eda1ba1
|
|
| BLAKE2b-256 |
f4c28fbdc591b62f095e82f09a8b20383ab8322330e6272cbd126fb8c4067f77
|
File details
Details for the file qass_tools_networking-3.7-py3-none-any.whl.
File metadata
- Download URL: qass_tools_networking-3.7-py3-none-any.whl
- Upload date:
- Size: 48.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb07244fccb55f655455421fc6112f24467dd8bdb2b98dc85638bc9f5b947e96
|
|
| MD5 |
fdcc56dadf9ec32dafb3c99c780cb7df
|
|
| BLAKE2b-256 |
9161fd49cfeacf0b21a05cb468814f0c93e41dba54643ab409bd7875ad6d426d
|