Scope
scope::parameters::InputsFPGAResonanceScanner Class Reference

#include <IO.h>

Inherits scope::parameters::InputsFPGAIO5751.

Classes

struct  Diagnosis
 

Public Member Functions

std::unique_ptr< InputsClone () 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::InputsFPGAIO5751
double MinimumPixeltime () const override
 
double MaximumPixeltime () const override
 
double CoercedPixeltime (const double &_pixeltime) const override
 

Static Public Member Functions

static std::unique_ptr< InputsCreate ()
 
- Static Public Member Functions inherited from scope::parameters::InputsFPGAIO5751
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 > BitshiftCh1
 
ScopeNumber< uint8_t > BitshiftCh2
 
Diagnosis diagnosis
 
- Public Attributes inherited from scope::parameters::InputsFPGAIO5751
ScopeNumber< uint32_t > BaselineCh1
 
ScopeNumber< uint32_t > BaselineCh2
 
ScopeNumber< double > AcquisitionClockRate
 
- 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 FPGAResonanceScanner.

Definition at line 461 of file IO.h.

Member Function Documentation

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

Create function for factory.

Definition at line 467 of file IO.h.

std::unique_ptr<Inputs> scope::parameters::InputsFPGAResonanceScanner::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::InputsFPGAIO5751.

Definition at line 469 of file IO.h.

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

load parameters from a boost::property_tree

Reimplemented from scope::parameters::InputsFPGAIO5751.

Definition at line 347 of file IO.cpp.

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

save parameters into a boost:property_tree

Reimplemented from scope::parameters::InputsFPGAIO5751.

Definition at line 353 of file IO.cpp.

void scope::parameters::InputsFPGAResonanceScanner::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::InputsFPGAIO5751.

Definition at line 359 of file IO.cpp.

Member Data Documentation

ScopeNumber<uint8_t> scope::parameters::InputsFPGAResonanceScanner::BitshiftCh1

Number of bits to shift U32 right before casting to U16 (channel 1)

Definition at line 472 of file IO.h.

ScopeNumber<uint8_t> scope::parameters::InputsFPGAResonanceScanner::BitshiftCh2

Number of bits to shift U32 right before casting to U16 (channel 2)

Definition at line 475 of file IO.h.

Diagnosis scope::parameters::InputsFPGAResonanceScanner::diagnosis

Keeps the LEDs/ScopeNumber for FPGA diagnosis together.

These can be connected to ScopeLEDs

Definition at line 503 of file IO.h.


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