Scope
|
#include <Devices.h>
Inherits scope::parameters::Base.
Inherited by scope::parameters::FastZControlETL.
Public Member Functions | |
virtual bool | LoadCalibration (const std::wstring &_filepath) |
virtual double | PositionToVoltage (const double &_positionum) |
void | Load (const wptree &pt) override |
void | Save (wptree &pt) const override |
Public Member Functions inherited from scope::parameters::Base | |
virtual void | SetReadOnlyWhileScanning (const RunState &_runstate) |
Public Attributes | |
std::map< double, double > | calibration |
ScopeNumber< double > | minoutput |
ScopeNumber< double > | maxoutput |
ScopeString | calibrationfile |
Additional Inherited Members | |
Protected Attributes inherited from scope::parameters::Base | |
std::vector< boost::signals2::connection > | connection_collector |
Parameters for a fast Z drive that is controlled by a voltage.
Voltage is only generated during scanning in DaqControllerImpl via OutputsDAQmx. No device initialization etc needed. Parameters handle transformation from micrometer to voltage by a calibration map that can be loaded etc.
|
virtual |
Loads calibration data from a file, overwrites old calibration map.
Data structure has to be multiple lines with "position voltage" in ANSI format. Updates the limits of currentposition to the max and min values read from the calibration file.
[in] | _filepath | path and filename |
Definition at line 80 of file Devices.cpp.
|
virtual |
Converts a position in micron to voltage.
Definition at line 98 of file Devices.cpp.
|
overridevirtual |
load parameters from a boost::property_tree
Reimplemented from scope::parameters::Base.
Reimplemented in scope::parameters::FastZControlETL.
Definition at line 122 of file Devices.cpp.
|
overridevirtual |
save parameters into a boost:property_tree
Reimplemented from scope::parameters::Base.
Reimplemented in scope::parameters::FastZControlETL.
Definition at line 130 of file Devices.cpp.
std::map<double, double> scope::parameters::FastZControl::calibration |
ScopeNumber<double> scope::parameters::FastZControl::minoutput |
ScopeNumber<double> scope::parameters::FastZControl::maxoutput |
ScopeString scope::parameters::FastZControl::calibrationfile |