Exemple #1
0
MODULE_API void InitializeModuleData()
{
	AddAvailableDeviceName(g_MT20HUB, "Olympus MT20 hub device");
	AddAvailableDeviceName(g_MT20Burner, "Olympus MT20 burner");
	AddAvailableDeviceName(g_MT20Shutter, "Olympus MT20 shutter");
	AddAvailableDeviceName(g_MT20Filterwheel, "Olympus MT20 filterwheel");
	AddAvailableDeviceName(g_MT20Attenuator, "Olympus MT20 attenuator");
}
// Module export
MODULE_API void InitializeModuleData()
{
    for(int i = 0; i < MoticDevCount; i++)
    {
        AddAvailableDeviceName(g_devlist[i][0], g_devlist[i][1]);
    }
}
/*
 * Determines list of available ports and feeds this back to the Core
 * Caches this list in g_PortList and only queries hardware when this cache is absent or stale
 */
MODULE_API void InitializeModuleData()
{	                                                                                                                                                          // Determine whether portList is fresh enough (i.e. younger than 15 seconds):
   time_t seconds = time(NULL);
   time_t timeout = 15;
   bool stale = seconds - g_PortListLastUpdated > timeout ? true : false;

   if (g_PortList.size() == 0 || stale)
   {
      SerialPortLister::ListPorts(g_PortList); 
      g_PortListLastUpdated = time(NULL);
   }

   std::vector<std::string>::iterator it = g_PortList.begin();
   while (it < g_PortList.end()) {
      /*  work-around for spurious duplicate device names on OS X
      if( std::string::npos == (*it).find("KeySerial"))
      */
           AddAvailableDeviceName((*it).c_str(), "Serial communication port");
      it++;
   }

}
Exemple #4
0
MODULE_API void InitializeModuleData()
{
  AddAvailableDeviceName(g_Xcite120PCName, "EXFO X-Cite 120 PC" );
}
Exemple #5
0
///////////////////////////////////////////////////////////////////////////////
// Exported MMDevice API
///////////////////////////////////////////////////////////////////////////////
MODULE_API void InitializeModuleData()
{
   AddAvailableDeviceName(g_ControllerName, "PrecisExcite LED illuminator");
   
}
Exemple #6
0
///////////////////////////////////////////////////////////////////////////////
// Exported MMDevice API
///////////////////////////////////////////////////////////////////////////////
MODULE_API void InitializeModuleData()
{
   AddAvailableDeviceName(g_SC10Name, "ThorLabs SC10 shutter controller" );
}
///////////////////////////////////////////////////////////////////////////////
// Exported MMDevice API
///////////////////////////////////////////////////////////////////////////////
MODULE_API void InitializeModuleData()
{
    AddAvailableDeviceName(g_MicroPointScannerName, "MicroPoint");
}
Exemple #8
0
///////////////////////////////////////////////////////////////////////////////
// Exported MMDevice API
///////////////////////////////////////////////////////////////////////////////
MODULE_API void InitializeModuleData()
{
   AddAvailableDeviceName(g_RappScannerName, "RappScanner");
}
///////////////////////////////////////////////////////////////////////////////
// Exported MMDevice API
///////////////////////////////////////////////////////////////////////////////
MODULE_API void InitializeModuleData()
{
   AddAvailableDeviceName(g_DeviceNameLCShutter, "Shutter");
   AddAvailableDeviceName(g_DeviceNameLCDA, "DA");
}
///////////////////////////////////////////////////////////////////////////////
// Exported MMDevice API
///////////////////////////////////////////////////////////////////////////////
MODULE_API void InitializeModuleData()
{
    AddAvailableDeviceName(g_DeviceCoboltName, "Cobolt Laser Controller");
}
Exemple #11
0
 */PI_E761_API void InitializeModuleData() {
	AddAvailableDeviceName(g_StageDeviceName, "PI E761 z-axis piezo stage");
	AddAvailableDeviceName(g_XYStageDeviceName, "PI E761 xy-axis piezo stage");
}
///////////////////////////////////////////////////////////////////////////////
// Exported MMDevice API
///////////////////////////////////////////////////////////////////////////////
MODULE_API void InitializeModuleData()
{
   AddAvailableDeviceName(PIZStage::DeviceName_, "PI GCS Z-stage");
   AddAvailableDeviceName(PIXYStage::DeviceName_, "PI GCS XY-stage");
#ifndef __APPLE__
   AddAvailableDeviceName(PIGCSControllerDLLDevice::DeviceName_, "PI GCS DLL Controller");
#endif
   AddAvailableDeviceName(PIGCSControllerComDevice::DeviceName_, "PI GCS Controller");

#ifndef __APPLE__
   AddAvailableDeviceName("C-843", "PI C-843 Controller");
#endif
   AddAvailableDeviceName("C-663.11", "PI C-663.11 Controller");
   AddAvailableDeviceName("C-863.11", "PI C-863.11 Controller");
   AddAvailableDeviceName("C-867", "PI C-867 Controller");
   AddAvailableDeviceName("E-517/E-545", "PI E-517/E-545 Controller");
#ifndef __APPLE__
   AddAvailableDeviceName("E-710", "PI E-710 Controller");
#endif
   AddAvailableDeviceName("E-712", "PI E-712 Controller");
   AddAvailableDeviceName("E-753", "PI E-753 Controller");
}
MODULE_API void InitializeModuleData()
{
   AddAvailableDeviceName(g_CameraDeviceName, "Canon SLR");
}
Exemple #14
0
///////////////////////////////////////////////////////////////////////////////
// Exported MMDevice API
///////////////////////////////////////////////////////////////////////////////
MODULE_API void InitializeModuleData()
{
   AddAvailableDeviceName(g_ControllerName, "Sapphire Laser");
   
}
Exemple #15
0
/**
 * List all supported hardware devices here
 */
MODULE_API void InitializeModuleData()
{
   AddAvailableDeviceName(g_CameraName, "ABS camera");
}
///////////////////////////////////////////////////////////////////////////////
// Exported MMDevice API
///////////////////////////////////////////////////////////////////////////////
MODULE_API void InitializeModuleData()
{
   AddAvailableDeviceName(g_ControllerName, "SimpleAutofocus Finder");
   AddAvailableDeviceName(g_FocusMonitorDeviceName, "Focus score monitor - 100XImaging Inc.");
   AddAvailableDeviceName(g_TPFocusDeviceName, "Three point focus - 100XImaging Inc.");
}
///////////////////////////////////////////////////////////////////////////////
// Exported MMDevice API
///////////////////////////////////////////////////////////////////////////////
MODULE_API void InitializeModuleData()
{
   AddAvailableDeviceName(g_LegacyZStageDeviceName, "Legacy Z stage"); // LIN 01/01/2012 CHANGED 
   AddAvailableDeviceName(g_LegacyXYStageDeviceName, "Legacy XY Stage"); // LIN 01/01/2012 CHANGED 
}