Scope
scope::ZoomResonance Class Reference

#include <ZoomResonance.h>

Public Member Functions

 ZoomResonance ()
 
 ~ZoomResonance ()
 
void Initialize (const std::wstring &_outputline)
 
void Set (const uint8_t &_factor)
 
uint8_t GetState () const
 

Protected Attributes

DAQmx::CDAQmxDigitalOutTask task
 
uint8_t state
 
const uint8_t factor1
 
const uint8_t factor2
 
const uint8_t factor3
 
const uint8_t factor4
 

Detailed Description

Controls the four-step zoom scaling for a resonance scanner by two DAQmx digital line outputs.

Definition at line 9 of file ZoomResonance.h.

Constructor & Destructor Documentation

scope::ZoomResonance::ZoomResonance ( )

Constructor, reset to amplitude 1.

Definition at line 7 of file ZoomResonance.cpp.

scope::ZoomResonance::~ZoomResonance ( )

Destructor, reset to amplitude 1.

Definition at line 15 of file ZoomResonance.cpp.

Member Function Documentation

void scope::ZoomResonance::Initialize ( const std::wstring &  _outputline)

Initialization.

Definition at line 20 of file ZoomResonance.cpp.

void scope::ZoomResonance::Set ( const uint8_t &  _factor)

Sets the amplitude reduction factor.

Definition at line 28 of file ZoomResonance.cpp.

uint8_t scope::ZoomResonance::GetState ( ) const
inline
Returns
the current zoom state as factor by which the scanner angle gets reduced (00 = factor 1 = largest FOV, 11 = factor 4 = smallest FOV)

Definition at line 44 of file ZoomResonance.h.

Member Data Documentation

DAQmx::CDAQmxDigitalOutTask scope::ZoomResonance::task
protected

the DAQmx task

Definition at line 13 of file ZoomResonance.h.

uint8_t scope::ZoomResonance::state
mutableprotected

current zoom state

Definition at line 16 of file ZoomResonance.h.

const uint8_t scope::ZoomResonance::factor1
protected

00

Definition at line 19 of file ZoomResonance.h.

const uint8_t scope::ZoomResonance::factor2
protected

01

Definition at line 22 of file ZoomResonance.h.

const uint8_t scope::ZoomResonance::factor3
protected

10

Definition at line 25 of file ZoomResonance.h.

const uint8_t scope::ZoomResonance::factor4
protected

11

Definition at line 28 of file ZoomResonance.h.


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