Crates.io | libarc2 |
lib.rs | libarc2 |
version | 0.6.0 |
source | src |
created_at | 2023-01-16 14:24:51.380829 |
updated_at | 2024-11-21 13:50:49.448988 |
description | Low-level interface library for ArC TWO™ |
homepage | http://arc-instruments.co.uk |
repository | https://github.com/arc-instruments/libarc2 |
max_upload_size | |
id | 760197 |
size | 284,989 |
This is the low-level interface library for ArC TWO. It manages the tool's command buffer, memory and instruction serialisation. It also provides some basic testing-related functionality such as individual pulsing and reading as well as a generic ramp generator. It is meant to be used as a bulding block towards developing more elaborate testing setups.
The recommended way to get started with libarc2
is through its Python
bindings. If you do, however,
want to hack on libarc2
itself or build Rust-based testing programs then
you can do so by adding the following to you Cargo.toml
.
[dependencies]
libarc2 = "0.6"
The library is still under development and more features are added constantly. An effort is made to maintain a consistent API but there is no API stability guarantee until we hit 1.0.
To actually talk to an ArC TWO board you will need the beastlink FPGA library.
Detailed instructions are available on the
beastlink-rs
repository. The Python wheels of the libarc2
bindings include all necessary
libraries but if you are using libarc2
itself you need to make them available
for the Rust compiler to link against. For Windows a Python script is included
to pull the necessary DLLs into the working directory. For Linux follow the
instructions on the beastlink-rs repository to build appropriate packages for
your distribution (for Debian, RedHat, Archlinux and their derivatives).