Skip to main content

yaqd-scpi

PyPI Conda yaq black ver log

yaq daemons for SCPI hardware. This package contains a few very generic daemons for interacting with the SCPI bus from yaq. The generic approach works well for many simple applications, but more complex hardware interaction may require a more hardware-specific daemon.

scpi-sensor

scpi-sensor allows yaq users to treat one or more scalar queries as a standard yaq sensor. Multiple queries are treated as multiple channels. Users can define channel names and units via config. An example config follows:

[rigol]
port = 39999
visa_address = "TCPIP0::128.104.68.66::INSTR"
[rigol.channels]
[rigol.channels.trigger_level]
query = "TRIG:EDGE:LEV?"
units = "V"
[rigol.channels.time_offset]
query = "TIM:MAIN:OFFS?"
units = "s"

scpi-set-continuous

scpi-set-continuous allows yaq users to address a single scalar settable. Limits and units can be provided via config. An example config follows:

[rigol_ch1_freq]
port = 39998
visa_address = "TCPIP0::128.104.68.66::INSTR"
limits = [0.1, 25e9]
scpi_command = "SOUR1:FREQ"

[rigol_ch2_freq]
port = 39999
visa_address = "TCPIP0::128.104.68.66::INSTR"
limits = [0.1, 25e9]
scpi_command = "SOUR1:FREQ"

scpi-set-discrete

scpi-set-discrete allows yaq users to address a single non-scalar settable according to user-friendly names. Identifiers must be provided via config. An example config follows:

[rigol_ch1_func]
port = 39999
visa_address = "TCPIP0::128.104.68.66::INSTR"
scpi_command = "SOUR1:FUNC"
identifiers = {"SIN"=0, "SQU"=1, "RAMP"=2, "PULS"=3, "NOIS"=4, "DC"=5}

Metadata

Release files for yaqd-scpi 2021.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yaqd-scpi 2021.11.0
File Size Uploaded Provenance
yaqd-scpi-2021.11.0.tar.gz 11.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for yaqd-scpi 2021.11.0
File Interpreter ABI Platform
yaqd_scpi-2021.11.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.2 kB

Release files / yaqd-scpi-2021.11.0.tar.gz

Download URL yaqd-scpi-2021.11.0.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ecf4cc5b6144fc61d63f291b19046ff30109adbae3c524b0b1b7973fb85f0021
BLAKE2b-256 checksum
How to use checksums
dcee719137d2ae35d65f49dca1bc5ee3946fa804eade865c7695b92c9dc778ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.26.0

Release files / yaqd_scpi-2021.11.0-py3-none-any.whl

Download URL yaqd_scpi-2021.11.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3559354a03f38f53f18ced99dc00532c1681ddbe9cc6be41a26691b4199cee08
BLAKE2b-256 checksum
How to use checksums
f79a7f0f4c574b3fe1176a07142b9de801705ec1c4d5f77e6f7af3c1fd3faf38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.26.0

Security for yaqd-scpi 2021.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page