2 unstable releases

0.2.0 Jan 3, 2023
0.1.0 Jan 27, 2021

#26 in #dac

27 downloads per month
Used in helios-dac

MIT license

7.5MB
4K SLoC

C++ 1.5K SLoC // 0.1% comments C 841 SLoC // 0.3% comments Visual Studio Project 564 SLoC C# 414 SLoC // 0.2% comments Visual Studio Solution 149 SLoC Prolog 72 SLoC Python 62 SLoC // 0.3% comments Rust 39 SLoC Batch 22 SLoC

Contains (ar library, 3MB) Li, (static library, 1.5MB) libusb-1.0-win32.lib, (static library, 2MB) libusb-1.0.lib, (ar library, 1MB) libusb-, (DOS exe, 720KB) bossac.exe, (Windows DLL, 485KB) sdk/sdk/HeliosLaserDAC-x64.dll and 15 more.

helios-dac-rs

A Rust library to interact with the Helios Laser DAC.

DISCLAIMER: I have not properly tested this with a real laser. Be careful as Lasers may harm your eyes when used improperly.

Wrapper for the official sdk as well as a native rust implementation of the protocol.

Disclaimer: Because of compilation issues on my main machine I could not test the sdk version against the dac. I've made sure it compiles, but my focus is on the rust native version.

Usage

[dependencies]
helios-dac = "0.1"

To use the rust version instead of the offical sdk use the native feature and disable default features:

[dependencies]
helios-dac = { version = "0.1", default-features = false, features = ["native"] }

Development

To build the sdk version you can use the Makefile. It will spin up a docker container with the required build dependencies.

No runtime deps