Exemple #1
0
void ISGetProperties(const char *dev)
{
    ISInit();
    for (int i = 0; i < cameraCount; i++)
    {
        MICCD *camera = cameras[i];
        if (!dev || !strcmp(dev, camera->name))
        {
            camera->ISGetProperties(dev);
            if (dev)
                break;
        }
    }
}
Exemple #2
0
void ISGetProperties(const char *dev)
{
    ISInit();

    if (cameraCount == 0)
    {
        IDMessage(nullptr, "No Moravian cameras detected. Power on?");
        return;
    }

    for (int i = 0; i < cameraCount; i++)
    {
        MICCD *camera = cameras[i];
        if (!dev || !strcmp(dev, camera->name))
        {
            camera->ISGetProperties(dev);
            if (dev)
                break;
        }
    }
}