Scope
|
#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 |
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.
scope::FPUController::FPUController | ( | ) |
Create XYControls and ETLs and connect buttons.
Definition at line 7 of file FPUController.cpp.
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.
[in] | _area | which 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.
[in] | _area | which FPU to move |
[in] | _dir | direction 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.
|
protected |
step size for a relative movement
Definition at line 19 of file FPUController.h.
|
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.