3 #include "ScopeDefines.h"
6 #ifdef SCOPE_USE_SUTTER_XYZSTAGE
8 #include "XYZControl.h"
9 #include "SutterController.h"
15 class XYZControlSutter
20 std::unique_ptr<SutterController> sc;
25 ScopeNumber<double> microstepspermicron;
40 unsigned char charval[2];
48 unsigned char charval[4];
53 uint16_t BytesToInt16(
const std::vector<BYTE>& _bytevec,
const uint32_t& _from);
54 std::vector<BYTE> Int16ToBytes(
const uint16_t& _i);
55 uint32_t BytesToInt32(
const std::vector<BYTE>& _bytevec,
const uint32_t& _from);
56 std::vector<BYTE> Int32ToBytes(
const uint32_t& _i);
63 void SetVelocity(
const uint16_t& _vel);
66 XYZControlSutter(
void);
69 ~XYZControlSutter(
void);
72 void Initialize(parameters::XYZControlSutter& _params);
74 void UpdatePositionValues()
override;
76 void SetZero()
override;
78 void MoveRelative(
const double& _xrel,
const double& _yrel,
const double& _zrel)
override;
80 void MoveAbsolute(
const double& _xabs,
const double& _yabs,
const double& _zabs)
override;