3 #include "ScopeDefines.h"
5 #include "helpers/ScopeNumber.h"
6 #include "helpers/ScopeString.h"
12 namespace parameters {
14 using boost::property_tree::wptree;
36 void Load(
const wptree& pt)
override;
37 void Save(wptree& pt)
const override;
60 void Load(
const wptree& pt)
override;
61 void Save(wptree& pt)
const override;
79 void Load(
const wptree& pt)
override;
80 void Save(wptree& pt)
const override;
115 void Load(
const wptree& pt)
override;
116 void Save(wptree& pt)
const override;
127 void Load(
const wptree& pt)
override;
128 void Save(wptree& pt)
const override;
154 void Load(
const wptree& pt)
override;
155 void Save(wptree& pt)
const override;
172 void Load(
const wptree& pt)
override;
173 void Save(wptree& pt)
const override;
196 void Load(
const wptree& pt)
override;
197 void Save(wptree& pt)
const override;
ScopeNumber< double > minoutput
Minimum output voltage to fast z, for ETL usually 0V.
void Save(wptree &pt) const override
save parameters into a boost:property_tree
ScopeNumber< double > zpos
position in micron of z axis
void Load(const wptree &pt) override
load parameters from a boost::property_tree
Parameters for a Sutter XYZ stage.
void Load(const wptree &pt) override
load parameters from a boost::property_tree
ScopeNumber< uint32_t > devicey
Standa device number for y axis.
virtual bool LoadCalibration(const std::wstring &_filepath)
Loads calibration data from a file, overwrites old calibration map.
ScopeNumber< double > speed
movement speed in steps/sec
void Load(const wptree &pt) override
load parameters from a boost::property_tree
void Load(const wptree &pt) override
load parameters from a boost::property_tree
Parameters for a general xy stage.
ScopeNumber< double > ypos
position in micron of y axis
All parameter classes derive from this.
void Save(wptree &pt) const override
save parameters into a boost:property_tree
void Save(wptree &pt) const override
save parameters into a boost:property_tree
ScopeNumber< double > countspermicron
conversion factor between encoder counts and micrometers
Parameters for a Galil controller xy stage (e.g.
ScopeNumber< double > xpos
position in micron of x axis
void Load(const wptree &pt) override
load parameters from a boost::property_tree
void Save(wptree &pt) const override
save parameters into a boost:property_tree
ScopeNumber< double > xcountspermicron
conversion factor between encoder counts and micrometers for x axis
ScopeNumber< double > pollinterval
interval in milliseconds to poll device, be careful: long intervals slow quitting of Scope (since to ...
ScopeString calibrationfile
calibration file name
ScopeNumber< double > zcountspermicron
conversion factor between encoder counts and micrometers for z axis
void Load(const wptree &pt) override
load parameters from a boost::property_tree
void Save(wptree &pt) const override
save parameters into a boost:property_tree
Parameters for a Galil XYZ stage (e.g.
void Load(const wptree &pt) override
load parameters from a boost::property_tree
virtual double PositionToVoltage(const double &_positionum)
Converts a position in micron to voltage.
In here all declarations for all kinds of datatypes Scope needs.
Parameters for a general XYZ stage.
void Save(wptree &pt) const override
save parameters into a boost:property_tree
ScopeNumber< uint32_t > devicex
Standa device number for x axis.
ScopeNumber< double > buttonstepsize
size of the step for up/down/left/right buttons
ScopeString stageinfo
string to put information about the stage in (do no Load or Save this)
ScopeNumber< double > ycountspermicron
conversion factor between encoder counts and micrometers for y axis
ScopeString comstring
connection string for Galil controller
ScopeString comstring
connection string for Galil controller
ScopeNumber< double > xpos
x position of xy device
A templated class for a thread-safe std::wstring, with signals that are called on value changes...
ScopeNumber< double > pollinterval
interval in milliseconds to poll device, be careful: long intervals slow quitting of Scope (since to ...
Parameters for a fast Z drive that is controlled by a voltage.
void Load(const wptree &pt) override
load parameters from a boost::property_tree
Various helper functions and classes for Scope.
std::map< double, double > calibration
calibration map, key is absolute position in microns, value is corresponding output voltage ...
ScopeString comstring
connection string for Sutter controller
ScopeNumber< double > ypos
y position of xy device
ScopeNumber< double > microstepspermicron
number of microsteps (1/8 full step) per micrometer, 3.226 microsteps per micrometer from Standa 8MTF...
ScopeNumber< double > microstepspermicron
conversion factor between encoder counts (microsteps) and micrometers for x axis usually 0...
void Save(wptree &pt) const override
save parameters into a boost:property_tree
void Save(wptree &pt) const override
save parameters into a boost:property_tree
ScopeNumber< double > maxoutput
Maximum output voltage to fast z, for ETL usually 4V.
Parameters for a Standa xy stage.