Crates.io | ut181a-cli |
lib.rs | ut181a-cli |
version | 0.2.0 |
source | src |
created_at | 2017-11-18 17:01:37.656276 |
updated_at | 2017-12-31 11:57:29.405877 |
description | Uni-T UT181A DMM remote control CLI |
homepage | |
repository | https://github.com/antage/ut181a-cli |
max_upload_size | |
id | 39828 |
size | 46,425 |
Uni-T UT181A digital multimeter (DMM) remote contorl command-line interface. It supports USB connection only.
You need Rust programming language toolchain to compile ut181a-cli
.
Recommended way to install Rust is rustup
tool.
Follow instructions at https://www.rustup.rs/.
$ sudo apt-get install libudev-dev libhidapi-dev
$ cargo install ut181a-cli
You can download compiled binaries at releases page.
Requirements for compiling from the source code:
*-pc-windows-msvc
: VisualStudio 2015.*-pc-windows-gnu
: MinGW$ cargo install ut181a-cli --features build
$ # Connect DMM to PC.
$ # Turn on DMM, press 'F4' ('SETUP') and set 'COMMUNICATION' to 'ON' state.
$ # Set mVDC mode for example.
$ ut181a-cli list-devices
Found DMM at path '0001:0004:00'.
$ ut181a-cli read once
Mode: mVDC [] [AUTO]
Range: -600...600 mV
1.74 mVDC
FAST: -104.61425 mVDC
Run ut181a-cli help
to see other commands.
This software licensed under the following: