Ejemplo n.º 1
0
// Implement Illumination
Illumination::Illumination()
{
    InitializeDefaultErrorMessages();

    CreateHubIDProperty();

    _init = false;
    _busy = false;
}
Ejemplo n.º 2
0
// Implement Objectives
Objectives::Objectives()
{
    InitializeDefaultErrorMessages();
    SetErrorText(ERR_OBJECTIVE_NOTFOUND, "Specified objective not found");
    SetErrorText(ERR_OBJECTIVE_TIMEOUT, "Objective move timeout");

    CreateHubIDProperty();

    _init = false;
    _busy = false;
}
Ejemplo n.º 3
0
// Z implement
ZStage::ZStage()
{
    InitializeDefaultErrorMessages();
    SetErrorText(ERR_Z_INVALID, "Z axis unavailable");
    SetErrorText(ERR_Z_TIMEOUT, "Z move timeout");
    SetErrorText(ERR_Z_MOVE, "Z move error");

    CreateHubIDProperty();

    _init = false;
    _busy = false;
}
Ejemplo n.º 4
0
// XYStage implement
XYStage::XYStage()
{
    InitializeDefaultErrorMessages();
    SetErrorText(ERR_XY_INVALID, "XY stage unavailable");
    SetErrorText(ERR_XY_TIMEOUT, "XY move timeout");
    SetErrorText(ERR_XY_MOVE, "XY move error");

    CreateHubIDProperty();

    _init = false;
    _busy = false;
}
Ejemplo n.º 5
0
RAMPSXYStage::RAMPSXYStage() :
    CXYStageBase<RAMPSXYStage>(),
    stepSize_um_(0.025),
    posX_um_(0.0),
    posY_um_(0.0),
    busy_(false),
    initialized_(false),
    lowerLimit_(0.0),
    upperLimit_(20000.0),
	status_("")
{
  InitializeDefaultErrorMessages();

  // parent ID display
  CreateHubIDProperty();
}
CArduinoNeoPixelShutter::CArduinoNeoPixelShutter() : initialized_(false), name_(g_DeviceNameArduinoNeoPixelShutter)  
{
   InitializeDefaultErrorMessages();
   EnableDelay();

   SetErrorText(ERR_NO_PORT_SET, "Hub Device not found.  The ArduinoNeoPixel Hub device is needed to create this device");

   // Name
   int ret = CreateProperty(MM::g_Keyword_Name, g_DeviceNameArduinoNeoPixelShutter, MM::String, true);
   assert(DEVICE_OK == ret);

   // Description
   ret = CreateProperty(MM::g_Keyword_Description, "ArduinoNeoPixel shutter driver", MM::String, true);
   assert(DEVICE_OK == ret);

   // parent ID display
   CreateHubIDProperty();
}