SeekDAS S100M4X C++ SDK 0.2.0
seekdas.hpp: C++17 interface over the Rust SDK
Loading...
Searching...
No Matches
SeekDAS S100M4X C++ SDK reference

Header-only C++17 interface (#include <seekdas/seekdas.hpp>) over the C ABI of the Rust SDK (seekdas_ffi). Quick start, examples and test results: das.s9t.fun.

Class Purpose
seekdas::Device Optical port (UDP): status, registers, trigger, full-control acquisition
seekdas::Trigger N points on each target channel, CONV inputs with edge and threshold
seekdas::TriggerState Run state: running, start_allowed, points, complete, rejected
seekdas::Config Full acquisition set-up: kernel, detectors, generator, groups
seekdas::Capture Result of a run: per-channel arrays, time stamps, CSV
seekdas::At Serial port AT commands: lasers, ranges, self-test, readings
seekdas::Error Base of all exceptions; seekdas::BusyError while a run is active
seekdas::Device dev("192.168.1.128");
dev.start_trigger(t); // seekdas::BusyError if a run is active
seekdas::Capture cap = dev.wait_trigger();
Result of a run. Points per group; a trigger run uses group 0. Move-only.
Definition seekdas.hpp:446
One trigger run: N points on each target channel, CONV edges from one to four analogue inputs.
Definition seekdas.hpp:394
Trigger & target(ChannelMask channels, std::uint32_t points_per_channel)
target: points_per_channel (>= 1) points on every channel of channels (at least one)
Definition seekdas.hpp:400

The Rust API is documented separately: Rust reference.