Scope
scope::FPUController Class Reference

#include <FPUController.h>

Public Member Functions

 FPUController ()
 
void Initialize (const parameters::Scope &_params)
 
void MoveAbsolute (const uint32_t &_area)
 
void MoveRelative (const uint32_t &_area, const FPUMoveDirection &_dir)
 
void SetXYZero (const uint32_t &_area)
 

Public Attributes

std::array< std::unique_ptr< SCOPE_FPUXYCONTROL_T >, SCOPE_NAREAS > theXYStages
 

Protected Attributes

std::array< double, SCOPE_NAREAS > stepsizes
 
ScopeController scope_controller
 

Detailed Description

The FPUController.

Basically encapsulates the FPU's XYStages. ETLs are controlled as fast z axis' from DaqControllerImpl via OutputsDAQmx. We need FPUController to be copyable, but since the devices like XYControl are noncopyable (due to mutex protected hardware access), we have them in here as shared_ptrs.

Definition at line 15 of file FPUController.h.

Constructor & Destructor Documentation

scope::FPUController::FPUController ( )

Create XYControls and ETLs and connect buttons.

Definition at line 7 of file FPUController.cpp.

Member Function Documentation

void scope::FPUController::Initialize ( const parameters::Scope _params)

Initialize the FPU's hardware.

Definition at line 21 of file FPUController.cpp.

void scope::FPUController::MoveAbsolute ( const uint32_t &  _area)

Move to an absolute position given by the scope_controller's GuiParameters.

Parameters
[in]_areawhich FPU to move

Definition at line 26 of file FPUController.cpp.

void scope::FPUController::MoveRelative ( const uint32_t &  _area,
const FPUMoveDirection &  _dir 
)

Move one stepsize relative to the current position.

Parameters
[in]_areawhich FPU to move
[in]_dirdirection of movement

Definition at line 33 of file FPUController.cpp.

void scope::FPUController::SetXYZero ( const uint32_t &  _area)

Set the current xy position of the FPU as zero.

Definition at line 50 of file FPUController.cpp.

Member Data Documentation

std::array<double, SCOPE_NAREAS> scope::FPUController::stepsizes
protected

step size for a relative movement

Definition at line 19 of file FPUController.h.

ScopeController scope::FPUController::scope_controller
protected

our ScopeController

Definition at line 22 of file FPUController.h.

std::array<std::unique_ptr<SCOPE_FPUXYCONTROL_T>, SCOPE_NAREAS> scope::FPUController::theXYStages

for xy movement of FPU stages

Definition at line 26 of file FPUController.h.


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