adc-socketx-0.1.1
توضیحات
ADC socket data eXchange
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | adc-socketx-0.1.1 |
| نام | adc-socketx |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Pavel Russu |
| ایمیل نویسنده | pavlucho@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/adc-socketx/ |
| مجوز | GTLAB Diagnostic, LLC |
# `adcx` <sup>_v0.1.1_</sup>
**ADC** socket data e**X**change py-script.
_[GTLAB Diagnostic LLC](http://gtlab.pro), 2023_
**Usage**:
```console
$ 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**:
```console
$ 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**:
```console
$ 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**:
```console
$ 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**:
```console
$ 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**:
```console
$ 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`
[](https://t.me/pavelrus)<br>
[](mailto:pavlucho@gmail.com)
نیازمندی
| مقدار | نام |
|---|---|
| >=0.7.0,<0.8.0 | typer[all] |
| >=0.12.1,<0.13.0 | soundfile |
| >=1.24.2,<2.0.0 | numpy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4.0 | Python |
نحوه نصب
نصب پکیج whl adc-socketx-0.1.1:
pip install adc-socketx-0.1.1.whl
نصب پکیج tar.gz adc-socketx-0.1.1:
pip install adc-socketx-0.1.1.tar.gz