REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Loading...
Searching...
No Matches
daq.h
Go to the documentation of this file.
A MessageHandler is a functor/closure like event handler.
Definition handler.h:21
Definition daq.h:15
int handle(JsonObjectConst msg_in, JsonObject &msg_out) override
The actual handler method gets a message and returns a message next to the status code.
Definition daq.h:17
std::array< T, NUM_CHANNELS > average(std::array< T, NUM_CHANNELS >(*sample_function)(), size_t samples=100, unsigned int delay_us=33)
Acquire an averaged sample (either raw or float).
Definition daq.h:96
std::array< float, NUM_CHANNELS > sample()
Acquire one one-demand sample. Can not be used during a continuous acquisition.
Definition daq.cpp:519
Definition carrier.h:12