We understand that you're looking to read the correct value range for the exposure time of your Intel® RealSense™ Camera, so we can check more information on our end, can you let us know the following:
a) Which Intel® RealSense™ Camera are you using at the moment?
b) Are you using the SDK R2, R3 or are you using the librealsense API?
Also, if you can share with us more information about the code you're using, it'll be appreciated.
Let us know this information so we can investigate further on our end.
Thanks for the reply.
I'm using the Intel RealSense R200 with the SDK R3.
The code is difficult to show completely, because it is distributed in several methods. But after I set up the stream and initialize the SenseManager I use the following code to read the exposure range values:
Intel::RealSense::CaptureManager* cm = _sm->QueryCaptureManager();
Intel::RealSense::Capture::Device* device = cm->QueryDevice();
Intel::RealSense::Capture::Device::PropertyInfo pi = device->QueryColorExposureInfo();
float min = pi.range.min;
float max = pi.range.max;
Thanks for the update, based on the information provided, the code might not be working as desired since the Intel RealSense R200 camera is not compatible with the SDK R3, for this camera we recommend to install the SDK R2, which I'll include the download link below so you can remove SDK R3, install the previous version and then test your code again to see if this resolves the scenario and gets you the values needed.
You can download it from here: Direct Link to Intel® RealSense™ SDK 2016 R2
Let us know how it goes after installing SDK R2 and retesting the code again.
We hope you're doing well, let us know if you were able to install the SDK R2 on your system and if you were able to test again your application. We'll be looking forward to your reply.