#include <Inputs.h>
Inherited by scope::InputsDAQmx, and scope::InputsFPGA.
Wraps hardware connection for signal input from PMTs.
Definition at line 13 of file Inputs.h.
scope::Inputs::Inputs |
( |
const uint32_t & |
_area | ) |
|
get the area and set up everything
Definition at line 7 of file Inputs.cpp.
virtual void scope::Inputs::Start |
( |
| ) |
|
|
pure virtual |
virtual void scope::Inputs::Stop |
( |
| ) |
|
|
pure virtual |
uint32_t scope::Inputs::RequestedSamples |
( |
| ) |
const |
|
virtual |
- Returns
- the total number of samples that should be read for that area.
Definition at line 16 of file Inputs.cpp.
virtual uint32_t scope::Inputs::StandardChunkSize |
( |
| ) |
const |
|
inlinevirtual |
virtual int32_t scope::Inputs::Read |
( |
DaqChunk & |
_chunk, |
|
|
bool & |
_timedout, |
|
|
const double & |
_timeout |
|
) |
| |
|
pure virtual |
Reads one chunk of samples for one area.
- Parameters
-
[in,out] | _chunk | chunk to fill with the read data |
[out] | _timedout | true if read timed out |
[in] | _timeout | timeout in seconds after which to return even if not enough samples were read |
- Returns
- the number of samples per channel actually read
Implemented in scope::InputsFPGA, and scope::InputsDAQmx.
const uint32_t scope::Inputs::area |
|
protected |
uint32_t scope::Inputs::requested_samples |
|
protected |
the total number of samples that should be read (in case of nframes mode) otherwise the buffer size (usually one frame)
Definition at line 20 of file Inputs.h.
The documentation for this class was generated from the following files: