Scope
|
#include <InputsFPGA.h>
Inherits scope::Inputs.
Public Member Functions | |
InputsFPGA (const uint32_t &_area, parameters::InputsFPGA *_inputparams, const parameters::Scope &_params) | |
void | Start () override |
void | Stop () override |
int32_t | Read (DaqChunk &_chunk, bool &_timedout, const double &_timeout) override |
Public Member Functions inherited from scope::Inputs | |
Inputs (const uint32_t &_area) | |
virtual uint32_t | RequestedSamples () const |
virtual uint32_t | StandardChunkSize () const |
Protected Attributes | |
ScopeController | scope_controller |
double | laserpulsesperpixel |
Protected Attributes inherited from scope::Inputs | |
const uint32_t | area |
uint32_t | requested_samples |
Private Member Functions | |
InputsFPGA (const InputsFPGA &i) | |
InputsFPGA | operator= (const InputsFPGA &i) |
Wraps hardware connection for signal input from PMTs using an NI FPGA.
Keep in mind to start the FPGA last, since it provides the sample clock for all other tasks.
Definition at line 24 of file InputsFPGA.h.
|
private |
disable copy
scope::InputsFPGA::InputsFPGA | ( | const uint32_t & | _area, |
parameters::InputsFPGA * | _inputparams, | ||
const parameters::Scope & | _params | ||
) |
Definition at line 25 of file InputsFPGA.cpp.
|
private |
disable assignment
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Reads one chunk of samples for one area.
[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 |
Implements scope::Inputs.
Definition at line 85 of file InputsFPGA.cpp.
|
protected |
our ScopeController here
Definition at line 29 of file InputsFPGA.h.
|
protected |
how many laser pulses arrive per pixel, photon counts are normalized to the number of laser pulses
Definition at line 32 of file InputsFPGA.h.