ZSpace is not detected

Hi,
I am using the following code:

      zcInitialize(&this->ZSpaceContext); // no error returned by this call

      int numDisplays;
      zcGetNumDisplays(this->ZSpaceContext, &numDisplays);

      for (int i = 0; i < numDisplays; i++)
      {
        ZCHandle displayHandle;
        zcGetDisplayByIndex(this->ZSpaceContext, i, &displayHandle);

        ZCDisplayType displayType;
        zcGetDisplayType(displayHandle, &displayType);
        cout << "Type: ";
        switch (displayType)
        {
        case ZC_DISPLAY_TYPE_UNKNOWN:
          cout << "Unknown" << endl;
          break;
        case ZC_DISPLAY_TYPE_GENERIC:
          cout << "Generic" << endl;
          break;
        case ZC_DISPLAY_TYPE_ZSPACE:
          cout << "ZSpace" << endl;
          break;
        default:
          cout << "???" << endl;
          break;
        }
      }

This code prints two generic displays. I have indeed two displays but a generic monitor and a zSpace.
For some reason, the zSpace is detected as a generic display.

If I call zcGetNumDisplaysByType(this->ZSpaceContext, ZC_DISPLAY_TYPE_ZSPACE, &numDisplays); it returns 0.

I have a zSpace 200, and everything is working great in the zSpace control panel.

Any idea?

Hi Michael,

This does seem to be incorrect behavior. I’m uncertain what might be causing it at first glance. The first thing I would check is just the general status of your system environment. Launch the “zSpace Configuration Check” which should be installed on your system. Send me the results of this (via direct message for privacy) through a screen capture or by exporting out the results to a file.

Also, are both the stereo and tracking tests successful in the zSpace Control Panel?

Regards,
Alex S.