Scope
scope::parameters::InputsFPGAIO5771 Class Reference

#include <IO.h>

Inherits scope::parameters::InputsFPGA.

Inherited by scope::parameters::InputsFPGAAnalogDemultiplexer, and scope::parameters::InputsFPGAAnalogIntegrator.

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< uint8_t > BaselineCh1
 
ScopeNumber< uint8_t > BaselineCh2
 
ScopeNumber< uint8_t > CutoffCh1
 
ScopeNumber< uint8_t > CutoffCh2
 
- 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 5771 IO adapter module (high-speed 8-bit digitizer)

Definition at line 293 of file IO.h.

Member Function Documentation

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

Create function for factory.

Definition at line 299 of file IO.h.

std::unique_ptr<Inputs> scope::parameters::InputsFPGAIO5771::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::InputsFPGAAnalogIntegrator, and scope::parameters::InputsFPGAAnalogDemultiplexer.

Definition at line 301 of file IO.h.

double scope::parameters::InputsFPGAIO5771::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 224 of file IO.cpp.

double scope::parameters::InputsFPGAIO5771::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 228 of file IO.cpp.

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

load parameters from a boost::property_tree

Reimplemented from scope::parameters::InputsFPGA.

Reimplemented in scope::parameters::InputsFPGAAnalogIntegrator, and scope::parameters::InputsFPGAAnalogDemultiplexer.

Definition at line 233 of file IO.cpp.

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

save parameters into a boost:property_tree

Reimplemented from scope::parameters::InputsFPGA.

Reimplemented in scope::parameters::InputsFPGAAnalogIntegrator, and scope::parameters::InputsFPGAAnalogDemultiplexer.

Definition at line 241 of file IO.cpp.

void scope::parameters::InputsFPGAIO5771::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::InputsFPGAAnalogIntegrator, and scope::parameters::InputsFPGAAnalogDemultiplexer.

Definition at line 249 of file IO.cpp.

Member Data Documentation

ScopeNumber<uint8_t> scope::parameters::InputsFPGAIO5771::BaselineCh1

Baseline U8 value to set zero in channel 1 (NI5771 reads ~ -1..+1V as unsigned 8 bit number, thus 0V is ~127)

Definition at line 304 of file IO.h.

ScopeNumber<uint8_t> scope::parameters::InputsFPGAIO5771::BaselineCh2

Baseline U8 value to set zero in channel 2 (NI5771 reads ~ -1..+1V as unsigned 8 bit number, thus 0V is ~127)

Definition at line 307 of file IO.h.

ScopeNumber<uint8_t> scope::parameters::InputsFPGAIO5771::CutoffCh1

Cutoff U8 value to set zero in channel 1 (NI5771 reads ~ -1..+1V as unsigned 8 bit number, thus 0V is ~127)

Definition at line 310 of file IO.h.

ScopeNumber<uint8_t> scope::parameters::InputsFPGAIO5771::CutoffCh2

Cutoff U8 value to set zero in channel 2 (NI5771 reads ~ -1..+1V as unsigned 8 bit number, thus 0V is ~127)

Definition at line 313 of file IO.h.


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