Skip to main content

ADC socket data eXchange

Project description

adcx v0.1.1

ADC socket data eXchange py-script.

GTLAB Diagnostic LLC, 2023

Usage:

$ adcx [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • get-info: Get the ADC information (s/n, frequency, channels, calibration).
  • get-lan: Get lan configuration (port, ip, netmask, gateway, MAC).
  • get-wav: Record a signal from the ADC to a .wav file.
  • reboot: Reboot the ADC.
  • set-lan: Set lan (ipv4) settings (ip/netmask, gateway).

adcx get-info

Get the ADC information (s/n, frequency, channels, calibration).

Usage:

$ adcx get-info [OPTIONS]

Options:

  • --ip TEXT: IPv4 connection address [default: 192.168.0.50]
  • --help: Show this message and exit.

adcx get-lan

Get lan configuration (port, ip, netmask, gateway, MAC).

Usage:

$ adcx get-lan [OPTIONS]

Options:

  • --ip TEXT: IPv4 connection address [default: 192.168.0.50]
  • --help: Show this message and exit.

adcx get-wav

Record a signal from the ADC to a .wav file.

Usage:

$ adcx get-wav [OPTIONS] SECONDS

Arguments:

  • SECONDS: [required]

Options:

  • --ch INTEGER RANGE: Set the number of channels to record [default: 1; 1<=x<=2]
  • --iepe / --no-iepe: [default: iepe]
  • --ip TEXT: IPv4 connection address [default: 192.168.0.50]
  • --out FILE: Path and name (only .wav extension!) of the file to be written
  • --help: Show this message and exit.

adcx reboot

Reboot the ADC.

Usage:

$ adcx reboot [OPTIONS]

Options:

  • --ip TEXT: IPv4 connection address [default: 192.168.0.50]
  • --help: Show this message and exit.

adcx set-lan

Set lan (ipv4) settings (ip/netmask, gateway).

Usage:

$ set-lan [OPTIONS] IPV4 [GATEWAY]

Arguments:

  • IPV4: New IPv4 address/netmask. Example: 192.168.0.50/24 [required]
  • [GATEWAY]: New IPv4 Gateway [default: 192.168.0.1]

Options:

  • --ip TEXT: IPv4 connection address [default: 192.168.0.50]
  • --help: Show this message and exit.

Contacts

Telegram Badge
Gmail Badge

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

adc_socketx-0.1.1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

adc_socketx-0.1.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file adc_socketx-0.1.1.tar.gz.

File metadata

  • Download URL: adc_socketx-0.1.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.10.8 Darwin/22.4.0

File hashes

Hashes for adc_socketx-0.1.1.tar.gz
Algorithm Hash digest
SHA256 40560e6913dad1c75741e90c69f48dc60002d471b2a7627364bfac864a771f26
MD5 42429c9d619a73e3d74927a265e53c6b
BLAKE2b-256 f9c26ce651adce0a428be7d6264cbf1e11132e361d908065f7cce7550d10892f

See more details on using hashes here.

File details

Details for the file adc_socketx-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: adc_socketx-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.10.8 Darwin/22.4.0

File hashes

Hashes for adc_socketx-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 665911085f4b4f8c4fe99cbb193f6ec37bb2b99fc78931f0bad12a03062660e1
MD5 f94606c5ead93f9e7b08f3ffb75f5adf
BLAKE2b-256 5b0eb3c393d4c28ad06cbeab88398eb5e5f5e8bd9f64aecc8fa326281e8d5db9

See more details on using hashes here.

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