Scope
scope::parameters::InputsFPGAIO6587 Class Reference

#include <IO.h>

Inherits scope::parameters::InputsFPGA.

Inherited by scope::parameters::InputsFPGADigitalDemultiplexer, and scope::parameters::InputsFPGAPhotonCounter.

Public Member Functions

std::unique_ptr< InputsClone () const override
 
double MinimumPixeltime () const override
 
double CoercedPixeltime (const double &_pixeltime) const override
 
void Load (const wptree &pt) override
 
void Save (wptree &pt) const override
 
void SetReadOnlyWhileScanning (const RunState &_runstate) override
 
- Public Member Functions inherited from scope::parameters::Inputs
virtual double MaximumPixeltime () const
 

Static Public Member Functions

static std::unique_ptr< InputsCreate ()
 
- Static Public Member Functions inherited from scope::parameters::InputsFPGA
static std::unique_ptr< InputsCreate ()
 
- Static Public Member Functions inherited from scope::parameters::Inputs
static std::unique_ptr< InputsFactory (const InputsType &_type)
 

Public Attributes

ScopeNumber< double > samplingrate
 
- Public Attributes inherited from scope::parameters::Inputs
ScopeNumber< uint32_t > channels
 
ScopeNumber< bool > oversampling
 
ScopeValue< Uint16Rangerangetype
 
ScopeNumber< uint32_t > preframelines
 

Additional Inherited Members

- Protected Attributes inherited from scope::parameters::Base
std::vector< boost::signals2::connection > connection_collector
 

Detailed Description

Parameters for pixel acquisition using the NI FlexRIO 6587 IO adapter module (high-speed LVDS digital input card)

Definition at line 173 of file IO.h.

Member Function Documentation

static std::unique_ptr<Inputs> scope::parameters::InputsFPGAIO6587::Create ( )
inlinestatic

Create function for factory.

Definition at line 179 of file IO.h.

std::unique_ptr<Inputs> scope::parameters::InputsFPGAIO6587::Clone ( ) const
inlineoverridevirtual

Clone method to clone into a pointer.

Has to be overriden in derived classes. There it can use the compiler generated copy constructor with e.g. InputsDAQmx(*this).

Reimplemented from scope::parameters::InputsFPGA.

Reimplemented in scope::parameters::InputsFPGAPhotonCounter, and scope::parameters::InputsFPGADigitalDemultiplexer.

Definition at line 181 of file IO.h.

double scope::parameters::InputsFPGAIO6587::MinimumPixeltime ( ) const
overridevirtual
Returns
the minimum pixel dwell time (in microseconds), depending on max aggregate rate, number of channels, and sampling type

Reimplemented from scope::parameters::InputsFPGA.

Definition at line 157 of file IO.cpp.

double scope::parameters::InputsFPGAIO6587::CoercedPixeltime ( const double &  _pixeltime) const
overridevirtual
Returns
the _pixeltime coerced to the nearest value the device supports.

Reimplemented from scope::parameters::InputsFPGA.

Definition at line 161 of file IO.cpp.

void scope::parameters::InputsFPGAIO6587::Load ( const wptree &  pt)
overridevirtual

load parameters from a boost::property_tree

Reimplemented from scope::parameters::InputsFPGA.

Reimplemented in scope::parameters::InputsFPGAPhotonCounter, and scope::parameters::InputsFPGADigitalDemultiplexer.

Definition at line 166 of file IO.cpp.

void scope::parameters::InputsFPGAIO6587::Save ( wptree &  pt) const
overridevirtual

save parameters into a boost:property_tree

Reimplemented from scope::parameters::InputsFPGA.

Reimplemented in scope::parameters::InputsFPGAPhotonCounter, and scope::parameters::InputsFPGADigitalDemultiplexer.

Definition at line 171 of file IO.cpp.

void scope::parameters::InputsFPGAIO6587::SetReadOnlyWhileScanning ( const RunState _runstate)
overridevirtual

set values that must not be changed to read-only during scanning.

True = readonly, false = read&write

Reimplemented from scope::parameters::InputsFPGA.

Reimplemented in scope::parameters::InputsFPGAPhotonCounter, and scope::parameters::InputsFPGADigitalDemultiplexer.

Definition at line 176 of file IO.cpp.

Member Data Documentation

ScopeNumber<double> scope::parameters::InputsFPGAIO6587::samplingrate

Sampling rate of the IO modules clock (which is double the clock rate of the FPGA acquisition loop) in Hz.

Usually 1-1.4E9 Hz.

Definition at line 184 of file IO.h.


The documentation for this class was generated from the following files: